mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
docs: update Hugo workflow example
This commit is contained in:
parent
fcbee38355
commit
ea6d487bc7
@ -130,13 +130,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.68.3'
|
||||
hugo-version: '0.71.0'
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
Loading…
x
Reference in New Issue
Block a user