feat: Ajout des fichiers temporaires de Hugo
This commit is contained in:
parent
6de3d92116
commit
92449962e9
12
.drone.yml
12
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue