Skip to content

Commit ae758df

Browse files
committed
ci: 添加部署工作流的写入权限
为了确保部署工作流能够正确执行,添加了 `contents: write` 权限,以便在部署过程中能够写入仓库内容。
1 parent 61804c8 commit ae758df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- name: Checkout repository
1315
uses: actions/checkout@v3

0 commit comments

Comments
 (0)