build hugo senza container esterno (#273)

fixes #272

Reviewed-on: BgLUG/bglug.it#273
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-10-03 06:16:07 +00:00 committed by Paolo Asperti
parent 183be1d9ce
commit 1a057541ff

View File

@ -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