Skip to content

Commit af43b3d

Browse files
committed
修复GitHub Actions权限问题:添加必要的页面部署权限
1 parent b9cb6c1 commit af43b3d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
pull_request:
77
branches: [ main, master ]
88

9+
# 设置GITHUB_TOKEN的权限
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
915
jobs:
1016
test-and-deploy:
1117
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)