-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Description
Based on discussion in maxheld83/ghpages#1, maxheld83/ghpages#18, and reading GitHub's Authenticating with the GITHUB_TOKEN help doc, I think the Pkgdown github action example needs to be switched from:
Lines 21 to 23 in 0636e8a
| - name: Deploy package | |
| run: | | |
| Rscript -e "pkgdown:::deploy_local(new_process = FALSE, remote_url = 'https://x-access-token:${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git')" |
To:
run: |
pkgdown:::deploy_local(new_process = FALSE, remote_url = 'https://x-access-token:${{secrets.DEPLOY_PAT}}@github.com/${{github.repository}}.git')
shell: Rscript {0}Emphasize that DEPLOY_PAT needs to be generated once and manually set for each repo under Secrets.
Metadata
Metadata
Assignees
Labels
No labels