Use hugo github action
Some checks failed
Build and Deploy Hugo / deploy (push) Failing after -16m49s
Some checks failed
Build and Deploy Hugo / deploy (push) Failing after -16m49s
This commit is contained in:
parent
12d54d1810
commit
9a528fc41e
1 changed files with 5 additions and 2 deletions
|
@ -14,8 +14,11 @@ jobs:
|
||||||
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
|
||||||
- name: Setup
|
|
||||||
run: apt install hugo -y
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v3
|
||||||
|
with:
|
||||||
|
hugo-version: "0.119.0"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue