Skip to content

Commit

Permalink
ci: update deploy action.
Browse files Browse the repository at this point in the history
  • Loading branch information
poneding committed Jan 13, 2025
1 parent 92b2985 commit 56c739f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
Expand All @@ -32,7 +34,7 @@ jobs:
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 56c739f

Please sign in to comment.