From 11fbadf93f33c2bbfc215a382a04313dfecbbaf8 Mon Sep 17 00:00:00 2001 From: lauralani Date: Tue, 8 Aug 2023 09:13:04 +0200 Subject: [PATCH] bump hugo version to 0.117.0 --- .woodpecker/deploy-netlify.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker/deploy-netlify.yaml b/.woodpecker/deploy-netlify.yaml index c9817ef..0f3921b 100644 --- a/.woodpecker/deploy-netlify.yaml +++ b/.woodpecker/deploy-netlify.yaml @@ -1,13 +1,15 @@ steps: build: image: golang:1.20-bookworm + environment: + - HUGO_VERSION=0.117.0 when: - event: push branch: [main, staging] commands: - - wget https://github.com/gohugoio/hugo/releases/download/v0.116.0/hugo_extended_0.116.0_linux-amd64.deb && apt install ./hugo_extended_0.116.0_linux-amd64.deb && rm -f hugo_extended_0.116.0_linux-amd64.deb + - wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_${HUGO_VERSION}_linux-amd64.deb - hugo --minify --destination ./public - + deploy-staging: image: node:alpine when: