Skip to content

Commit 2c0a46c

Browse files
committed
[ UPDATE ] Fix error in deployment workflow gh-pages
1 parent a54e464 commit 2c0a46c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
3434
3535
- name: 🚀 Deploy to GitHub Pages
36-
run: npm run deploy
36+
run: npm run deploy -- --repo https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}

0 commit comments

Comments
 (0)