Skip to content

Commit b21167c

Browse files
committed
Add github token to allow push
1 parent 7489b13 commit b21167c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,7 @@ jobs:
5555
DEPLOYMENT_BRANCH: gh-pages
5656
USE_SSH: false
5757
GIT_USER: git
58-
run: npm run deploy
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
run: |
60+
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
61+
npm run deploy

0 commit comments

Comments
 (0)