Skip to content

Commit

Permalink
GitHub Action: update Hugo Publish GitHub Pages
Browse files Browse the repository at this point in the history
Use the peaceiris action, instead of the default.
  • Loading branch information
booch committed Mar 6, 2024
1 parent 30f50a9 commit 810ec9c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/hugo-publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ jobs:
path: ./public

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 810ec9c

Please sign in to comment.