Skip to content

Commit dc29656

Browse files
committed
Use GITHUB_TOKEN secret to push pages
1 parent 7fb99ab commit dc29656

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Documentation
22

33
on:
4-
push:
5-
branches: [ main ]
64

75
jobs:
86
build-docs:
@@ -22,6 +20,6 @@ jobs:
2220
uses: peaceiris/actions-gh-pages@v3
2321
if: github.ref == 'refs/heads/main'
2422
with:
25-
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
23+
deploy_key: ${{ secrets.GITHUB_TOKEN }}
2624
publish_branch: gh-pages
2725
publish_dir: ./docs/build

0 commit comments

Comments
 (0)