feat: Ajout des fichiers temporaires de Hugo

This commit is contained in:
Simon 2022-12-02 13:11:51 +01:00
parent 6de3d92116
commit 92449962e9
1 changed files with 12 additions and 0 deletions

View File

@ -65,6 +65,9 @@ steps:
- name: build website
image: klakegg/hugo:0.101.0-ext-debian-ci
volumes:
- name: hugo-resources
path: /drone/src/resources
commands:
- hugo --minify --environment production
@ -90,6 +93,9 @@ volumes:
- name: hugo-theme-lowtech_node_modules
host:
path: /tmp/drone/cache/weko/cremeaux/themes/hugo-theme-lowtech
- name: hugo-resources
host:
path: /tmp/drone/cache/weko/cremeaux/resources
---
kind: pipeline
@ -122,6 +128,9 @@ steps:
- name: build website
image: klakegg/hugo:0.101.0-ext-debian-ci
volumes:
- name: hugo-resources
path: /drone/src/resources
commands:
- hugo --minify --buildDrafts --buildFuture --environment staging
@ -147,3 +156,6 @@ volumes:
- name: hugo-theme-lowtech_node_modules
host:
path: /tmp/drone/cache/weko/cremeaux/themes/hugo-theme-lowtech
- name: hugo-resources
host:
path: /tmp/drone/cache/weko/cremeaux/resources