Skip to content

Commit 3970c73

Browse files
add write permisson
1 parent e060ca3 commit 3970c73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ on:
77

88
permissions:
99
contents: write
10+
pages: write
11+
id-token: write
1012

1113
jobs:
1214
deploy:
1315
runs-on: ubuntu-latest
1416
steps:
1517
- name: Checkout
1618
uses: actions/checkout@v4
19+
1720
- name: Deploy
1821
uses: peaceiris/actions-gh-pages@v4
22+
if: github.ref == 'refs/heads/master'
1923
with:
2024
github_token: ${{ secrets.GITHUB_TOKEN }}
2125
publish_dir: ./public

0 commit comments

Comments
 (0)