Skip to content

Commit 5a6d490

Browse files
authored
ci: update auto-deploy-docs.yml
1 parent 54add2e commit 5a6d490

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/auto-deploy-docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Deploy Documentation
22

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
branches:
@@ -27,5 +30,5 @@ jobs:
2730
- name: Deploy to GitHub Pages
2831
uses: peaceiris/actions-gh-pages@v4
2932
with:
30-
github_token: ${{ secrets.DEPLOY_TOKEN }}
31-
publish_dir: ./site
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./site

0 commit comments

Comments
 (0)