Skip to content

Commit

Permalink
Allow GH actions to git push by using token
Browse files Browse the repository at this point in the history
  • Loading branch information
RonanCodes committed Apr 29, 2024
1 parent a0aa107 commit 0848123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
npm version patch -m "Bump version to %s [skip ci]"
git push origin --tags
git push https://${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }} --tags
- name: Build
run: npm run build:prod
Expand Down

0 comments on commit 0848123

Please sign in to comment.