feat: Mise à jour du cache dans drone
This commit is contained in:
parent
aad4760cab
commit
aa8cb94a29
16
.drone.yml
16
.drone.yml
|
@ -60,10 +60,10 @@ steps:
|
||||||
- node scripts/directus-to-markdown/index.js
|
- node scripts/directus-to-markdown/index.js
|
||||||
|
|
||||||
- name: build website
|
- name: build website
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: hugomods/hugo:base-0.121.1
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: hugo-resources
|
- name: hugo-resources
|
||||||
# path: /drone/src/resources
|
path: /drone/src/resources
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --environment production
|
- hugo --minify --environment production
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ steps:
|
||||||
- node themes/hugo-theme-lowtech/scripts/typo
|
- node themes/hugo-theme-lowtech/scripts/typo
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: hugomods/hugo:base-0.121.1
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID:
|
||||||
from_secret: PRODUCTION_AWS_ACCESS_KEY_ID
|
from_secret: PRODUCTION_AWS_ACCESS_KEY_ID
|
||||||
|
@ -131,9 +131,9 @@ steps:
|
||||||
|
|
||||||
- name: build website
|
- name: build website
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: hugo-resources
|
- name: hugo-resources
|
||||||
# path: /drone/src/resources
|
path: /drone/src/resources
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue