Skip to content

Commit

Permalink
Also set-url before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
predatorray committed Nov 22, 2024
1 parent f15781b commit 80adcaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
git config --local user.email [email protected]
git config --local user.name bot
- run: npm ci
- run: npm run deploy
- run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 80adcaf

Please sign in to comment.