Skip to content

Commit

Permalink
MD-23 ci: revert the change for the env tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
joeladam518 committed Apr 2, 2024
1 parent 3f5eadf commit 1a3e0e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: Publish to GitHub Packages
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
release:
types: [published]
Expand Down Expand Up @@ -29,6 +27,8 @@ jobs:

- name: Publish (NPM)
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- uses: actions/setup-node@v4
with:
Expand All @@ -38,3 +38,5 @@ jobs:

- name: Publish (GPR)
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a3e0e0

Please sign in to comment.