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