mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Fix the github workflow (#1332)
This commit is contained in:
1 parent
6178940528
commit
f912ea1cc6
1 file changed
+2
-7
@@ -67,7 +67,7 @@ jobs:
|
|||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@latest
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: 'latest'
|
hugo-version: 'latest'
|
||||||
# extended: true
|
# extended: true
|
||||||
@@ -76,15 +76,10 @@ jobs:
|
|||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@latest
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./public
|
publish_dir: ./public
|
||||||
|
|
||||||
- name: Setup Hugo
|
|
||||||
uses: peaceiris/actions-hugo@latest
|
|
||||||
with:
|
|
||||||
hugo-version: 'latest'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For more advance settings https://github.com/marketplace/actions/hugo-setup
|
For more advance settings https://github.com/marketplace/actions/hugo-setup
|
||||||
|
|||||||
Reference in new issue
Block a user