Skip to content
6 changes: 1 addition & 5 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ jobs:
run: npx standard-version

- name: Push version bump commit and tags
env:
GITHUB_PAT: ${{ secrets.TOKEN_GITHUB }} # Use o secret criado para Personal Access Token
run: |
git push https://x-access-token:${GITHUB_PAT}@github.com/${{ github.repository }} main --follow-tags

run: git push https://x-access-token:${{ secrets.TOKEN_GITHUB }}@github.com/${{ github.repository }} main --follow-tags
- name: Publish package to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down