Skip to content

Commit 5e4ccc9

Browse files
committed
Use personal access token for pushing
action bot not allowed to update github pages, see https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869
1 parent 216200b commit 5e4ccc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
- name: Push changes
3232
if: github.ref == 'refs/heads/master'
3333
run: |
34-
git remote set-url --push origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
34+
git remote set-url --push origin https://x-access-token:${{ secrets.W3C_GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
3535
git push origin HEAD:master

0 commit comments

Comments
 (0)