Skip to content

Commit 20286ca

Browse files
(docs): fix github action to deploy
1 parent 4419f26 commit 20286ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-mkdocs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
deploy:
10+
permissions:
11+
contents: write
1012
runs-on: ubuntu-latest
1113
steps:
1214
- uses: actions/checkout@v2
@@ -32,5 +34,5 @@ jobs:
3234
- name: Deploy to GitHub Pages
3335
uses: peaceiris/actions-gh-pages@v3
3436
with:
35-
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
github_token: ${{ secrets.GH_PAT }}
3638
publish_dir: ./docs/site

0 commit comments

Comments
 (0)