forked from BgLUG/bglug.it
This commit is contained in:
parent
3559516db5
commit
7c57406328
@ -14,10 +14,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
# - uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- uses: actions/cache/restore@v4
|
- uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
@ -26,10 +26,9 @@ jobs:
|
|||||||
key: bglug-it-hugo-resources
|
key: bglug-it-hugo-resources
|
||||||
|
|
||||||
- name: Build Hugo
|
- name: Build Hugo
|
||||||
run: mkdir -p public resources && date > public/ciao && date > resources/cippo
|
uses: lowply/build-hugo@v0.129.0
|
||||||
# uses: lowply/build-hugo@v0.129.0
|
with:
|
||||||
# with:
|
args: --gc --minify --cleanDestinationDir
|
||||||
# args: --gc --minify --cleanDestinationDir
|
|
||||||
|
|
||||||
- uses: actions/cache/save@v4
|
- uses: actions/cache/save@v4
|
||||||
if: always() # salva in cache anche se la build fallisce
|
if: always() # salva in cache anche se la build fallisce
|
||||||
|
Loading…
Reference in New Issue
Block a user