We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8809e0f commit ce794efCopy full SHA for ce794ef
1 file changed
.github/workflows/docs.yml
@@ -63,9 +63,12 @@ jobs:
63
64
- name: Deploy to gh-pages
65
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
66
+ env:
67
+ GITHUB_TOKEN: ${{ github.token }}
68
run: |
69
git config --global user.name 'GitHub Actions'
70
git config --global user.email 'actions@github.com'
71
+ git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
72
73
git checkout --orphan gh-pages-tmp
74
git rm --quiet -rf .
0 commit comments