Fix the github workflow (#1332)

This commit is contained in:
Simon Perdrisat authored and GitHub committed 2021-02-12 09:30:08 +09:00
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
- name: Setup Hugo
uses: peaceiris/actions-hugo@latest
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
@@ -76,15 +76,10 @@ jobs:
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@latest
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
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