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
|
||||
|
||||
- name: build website
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
# volumes:
|
||||
# - name: hugo-resources
|
||||
# path: /drone/src/resources
|
||||
image: hugomods/hugo:base-0.121.1
|
||||
volumes:
|
||||
- name: hugo-resources
|
||||
path: /drone/src/resources
|
||||
commands:
|
||||
- hugo --minify --environment production
|
||||
|
||||
|
@ -76,7 +76,7 @@ steps:
|
|||
- node themes/hugo-theme-lowtech/scripts/typo
|
||||
|
||||
- name: deploy
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
image: hugomods/hugo:base-0.121.1
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: PRODUCTION_AWS_ACCESS_KEY_ID
|
||||
|
@ -131,9 +131,9 @@ steps:
|
|||
|
||||
- name: build website
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
# volumes:
|
||||
# - name: hugo-resources
|
||||
# path: /drone/src/resources
|
||||
volumes:
|
||||
- name: hugo-resources
|
||||
path: /drone/src/resources
|
||||
commands:
|
||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||
|
||||
|
|
Loading…
Reference in New Issue