From c568dfa18f1b3cafa4640f29437628dd3781ef92 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Thu, 2 May 2024 18:34:57 +0200 Subject: [PATCH] feat(ci): use fancy setup-hugo action --- .forgejo/workflows/deploy.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 1c539b9..e50bb07 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -13,15 +13,9 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.22.x" - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 + - uses: https://code.icb4dc0.de/prskr/setup-hugo@main with: - extended: true - - name: Install sass - run: | - export SASS_VERSION=$(curl https://api.github.com/repos/sass/dart-sass/releases | jq -r '. | first |.tag_name | capture("(?[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') - curl -L "https://github.com/sass/dart-sass/releases/download/${SASS_VERSION}/dart-sass-${SASS_VERSION}-linux-arm64.tar.gz" | tar xvz -C /opt/ - ln -s /opt/dart-sass/sass /usr/local/bin/ + dart-sass: true - uses: actions/cache@v4 with: path: /home/runner/.cache/hugo_cache