Skip to content

Commit ebb7201

Browse files
committed
Fix Github Actions Deploy Script
1 parent c813b1b commit ebb7201

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@ jobs:
3939
- name: Deploy to GitHub Pages
4040
env:
4141
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
run: npx gh-pages -d dist
42+
run: |
43+
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git
44+
npx gh-pages -d dist

0 commit comments

Comments
 (0)