Skip to content

Commit df9bead

Browse files
committed
ci: 更新部署工作流权限和配置
1 parent f750366 commit df9bead

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
1111
permissions:
12-
contents: read
12+
contents: write
1313
pages: write
1414
id-token: write
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
18+
with:
19+
persist-credentials: true
20+
fetch-depth: 0
1821

1922
- name: Setup Node.js
2023
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)