diff --git a/.gitea/workflows/build_and_push.yaml b/.gitea/workflows/build_and_push.yaml index 88a802f..8055eb4 100644 --- a/.gitea/workflows/build_and_push.yaml +++ b/.gitea/workflows/build_and_push.yaml @@ -14,10 +14,10 @@ jobs: container: image: catthehacker/ubuntu:act-latest steps: - # - uses: actions/checkout@v4 - # with: - # submodules: true # Fetch Hugo themes (true OR recursive) - # fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + - uses: actions/checkout@v4 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - uses: actions/cache/restore@v4 with: @@ -26,10 +26,9 @@ jobs: key: bglug-it-hugo-resources - name: Build Hugo - run: mkdir -p public resources && date > public/ciao && date > resources/cippo - # uses: lowply/build-hugo@v0.129.0 - # with: - # args: --gc --minify --cleanDestinationDir + uses: lowply/build-hugo@v0.129.0 + with: + args: --gc --minify --cleanDestinationDir - uses: actions/cache/save@v4 if: always() # salva in cache anche se la build fallisce