Skip to content

Commit b9bdde0

Browse files
Merge pull request #483 from sakshar2303/fix/use-deploy-key-for-gh-pages
fix: use deploy key instead of token for gh-pages deployment
2 parents 0891e1e + 3f7d86b commit b9bdde0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/javadoc-gh-pages.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ jobs:
4343
- name: Deploy
4444
uses: peaceiris/actions-gh-pages@v4
4545
with:
46-
github_token: ${{ secrets.GITHUB_TOKEN }}
46+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
4747
publish_dir: ./javadoc
4848
destination_dir: javadoc
4949
keep_files: true
50-
user_name: 'github-actions[bot]'
51-
user_email: 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)