From 85f1c7617622e9e39e5432f01138657ae5a8b5ed Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Mon, 6 Nov 2023 17:42:28 +0100 Subject: [PATCH] fix: workflow --- .forgejo/workflows/hugo.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/hugo.yaml b/.forgejo/workflows/hugo.yaml index f4898f9..6584a81 100644 --- a/.forgejo/workflows/hugo.yaml +++ b/.forgejo/workflows/hugo.yaml @@ -13,11 +13,12 @@ jobs: - run: ls -la - name: Setup Hugo env: - HUGO_VERSION: extended_0.120.3 + HUGO_RELEASE_TYPE: extended + HUGO_VERSION: 0.120.3 run: | mkdir ~/hugo cd ~/hugo - curl -L "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" --output hugo.tar.gz + curl -L "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_RELEASE_TYPE}_${HUGO_VERSION}_Linux-64bit.tar.gz" --output hugo.tar.gz tar -xvzf hugo.tar.gz mv hugo /usr/local/bin - name: Build