Skip to content

Commit

Permalink
#build-minor: update GitHub Actions workflow to use new authenticatio…
Browse files Browse the repository at this point in the history
…n tokens for package publishing
  • Loading branch information
reskume committed Dec 30, 2024
1 parent 02f1cc7 commit 3ee002d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Publish to GitHub Package Registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GHPR_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.AUTOMATOR_DEVOPS_PAT}}
- name: Setup Node for publishing to NPM registry
uses: actions/setup-node@v4
with:
Expand All @@ -86,6 +86,6 @@ jobs:
- name: Publish to NPM Package Registry
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
permissions:
contents: write

0 comments on commit 3ee002d

Please sign in to comment.