Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit b788b10

Browse files
author
Cole J Calamos
committed
Updated secrets
1 parent 3a04e38 commit b788b10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/Publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ jobs:
2525
with:
2626
node-version: 12
2727
registry-url: https://registry.npmjs.org/
28+
always-auth: true
2829
- run: yarn install --frozen-lockfile
2930
- name: Create .npmrc
3031
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
3132
env:
3233
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3334
- run: yarn publish --access public
3435
env:
35-
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_NPM_TOKEN}}
36+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3637

3738
publish-gpr:
3839
needs: build
@@ -44,6 +45,7 @@ jobs:
4445
node-version: 12
4546
registry-url: https://npm.pkg.github.com/
4647
scope: '@ccalamos'
48+
always-auth: true
4749
- run: yarn install --frozen-lockfile
4850
- run: echo registry=https://npm.pkg.github.com/ccalamos >> .npmrc
4951
- run: yarn publish

0 commit comments

Comments
 (0)