Skip to content

Commit

Permalink
chore: actions-gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
atsuyaw authored Oct 23, 2024
1 parent 67e290c commit 40a80aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
submodules: false # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Go
uses: actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: 'stable'

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
- uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.135.0'
extended: true

- run: hugo --minify

- uses: peaceiris/actions-gh-pages@v3
- uses: peaceiris/actions-gh-pages@v4.0
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

0 comments on commit 40a80aa

Please sign in to comment.