forked from BgLUG/bglug.it
This commit is contained in:
parent
3559516db5
commit
7c57406328
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user