Skip to content

Commit a2abcde

Browse files
committed
add a github token
1 parent f412f3f commit a2abcde

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
@@ -27,5 +27,8 @@ jobs:
2727
- name: Deploy to GitHub Pages
2828
env:
2929
CI: true
30-
run: npm run deploy
30+
GIT_USER: github-actions[bot] # Add user for gh-pages package
31+
GITHUB_TOKEN: ${{ github.token }} # Authenticate with the token
32+
run: npx gh-pages -d build --repo https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git
33+
3134

0 commit comments

Comments
 (0)