Skip to content

Commit 2b03b84

Browse files
committed
ci: Update token in publish workflow
1 parent 4d3c766 commit 2b03b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
scope: '@doist'
3737
- run: npm publish
3838
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
4040

4141
- name: Publish to npm registry
4242
uses: actions/setup-node@v1
@@ -46,4 +46,4 @@ jobs:
4646
scope: '@doist'
4747
- run: npm publish
4848
env:
49-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)