Skip to content

Commit

Permalink
fix: move the auth token to the right step
Browse files Browse the repository at this point in the history
  • Loading branch information
brandomeniconi committed Nov 29, 2024
1 parent 88ffd0d commit 266de64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: npm install --workspace packages/${{ env.package_name }}

- name: Publish to registry
run: npm publish --workspace packages/${{ env.package_name }} --if-present
run: npm publish --workspace packages/${{ env.package_name }} --if-present --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.TREEDOM_NPMJS_TOKEN }}

- name: Commit version
run: |
Expand All @@ -41,6 +43,4 @@ jobs:
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
env:
NPM_AUTH_TOKEN: ${{ secrets.TREEDOM_NPMJS_TOKEN }}
branch: main

0 comments on commit 266de64

Please sign in to comment.