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