Skip to content

Commit e9c4ebd

Browse files
authored
Update deploy.yml
1 parent e31b4e9 commit e9c4ebd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
11+
permissions:
12+
contents: write
1213
steps:
1314
- name: Checkout the repository
1415
uses: actions/checkout@v2
@@ -53,6 +54,8 @@ jobs:
5354
pnpm build
5455
5556
- name: Deploy
56-
run: |
57-
pnpm run deploy
57+
uses: peaceiris/actions-gh-pages@v4
58+
with:
59+
personal_token: ${{ secrets.GH_ACTIONS_TOKEN }}
60+
publish_dir: ./build
5861

0 commit comments

Comments
 (0)