From aa8cb94a2992e677c75d1df3764fced9b6c9893f Mon Sep 17 00:00:00 2001 From: Simon C Date: Mon, 19 Feb 2024 11:48:11 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Mise=20=C3=A0=20jour=20du=20cache=20dan?= =?UTF-8?q?s=20drone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index b99da16..9d57dec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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