feat: Mise à jour du cache dans drone
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Simon 2024-02-19 11:48:11 +01:00
parent aad4760cab
commit aa8cb94a29
1 changed files with 8 additions and 8 deletions

View File

@ -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