Skip to content

Commit a1607b7

Browse files
authored
Update static.yml
1 parent a5a3b04 commit a1607b7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/static.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- master
1010

11+
permissions:
12+
contents: write
13+
1114
jobs:
1215
build:
1316
runs-on: ubuntu-latest
@@ -30,5 +33,5 @@ jobs:
3033
- name: Deploy to GitHub Pages
3134
uses: peaceiris/actions-gh-pages@v3
3235
with:
33-
github_token: ${{ secrets.github_token }}
34-
folder: build
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: build

0 commit comments

Comments
 (0)