From 92449962e99638a25e260293ddcba425c9d8fb55 Mon Sep 17 00:00:00 2001 From: Simon C Date: Fri, 2 Dec 2022 13:11:51 +0100 Subject: [PATCH] feat: Ajout des fichiers temporaires de Hugo --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 565a0de..119a4d0 100644 --- a/.drone.yml +++ b/.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