From 1a057541ff676a3b3689e1f914595e1f982829b6 Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 3 Oct 2024 06:16:07 +0000 Subject: [PATCH] build hugo senza container esterno (#273) fixes #272 Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/273 Co-authored-by: paspo Co-committed-by: paspo --- .gitea/workflows/build_and_push.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build_and_push.yaml b/.gitea/workflows/build_and_push.yaml index 182ac9a..1d17fa8 100644 --- a/.gitea/workflows/build_and_push.yaml +++ b/.gitea/workflows/build_and_push.yaml @@ -32,9 +32,9 @@ jobs: sed -i "s/AbbreviatedHash\:.*$/AbbreviatedHash: ${H}/" config/_default/params.yaml - name: Build Hugo - uses: lowply/build-hugo@v0.129.0 - with: - args: --gc --minify --cleanDestinationDir + run: | + wget -O - https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_extended_0.135.0_linux-amd64.tar.gz | tar zxv + ./hugo --gc --minify --cleanDestinationDir - uses: actions/cache/save@v4 if: always() # salva in cache anche se la build fallisce