Skip to content

Commit da6f701

Browse files
committed
chore(github-actions): update github page deployment
1 parent 42ad587 commit da6f701

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/github-page.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
github-page:
1013
runs-on: ubuntu-latest
@@ -30,8 +33,6 @@ jobs:
3033
npm run github
3134
3235
- name: Deploy GitHub Page
33-
uses: JamesIves/github-pages-deploy-action@releases/v3
36+
uses: JamesIves/github-pages-deploy-action@releases/v4
3437
with:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
BRANCH: gh-pages
37-
FOLDER: dist
38+
folder: dist

0 commit comments

Comments
 (0)