Skip to content

Commit 54a59f3

Browse files
committed
fix: update permissions for GITHUB_TOKEN and upgrade actions-gh-pages to v4
1 parent 2ef8391 commit 54a59f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1313
permissions:
14-
contents: read
14+
contents: write
1515
pages: write
1616
id-token: write
1717

@@ -45,7 +45,7 @@ jobs:
4545
pnpm run build
4646
4747
- name: Deploy to GH Pages
48-
uses: peaceiris/actions-gh-pages@v3
48+
uses: peaceiris/actions-gh-pages@v4
4949
with:
5050
github_token: ${{ secrets.GITHUB_TOKEN }}
5151
publish_dir: web/dist

0 commit comments

Comments
 (0)