Skip to content

Commit 47edaca

Browse files
committed
changed secrets from env to command line
1 parent c9bdcfa commit 47edaca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/update-and-publish.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ jobs:
8282
run: npm run build
8383

8484
- name: Publish package
85-
run: npm publish --access public
86-
env:
87-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
85+
run: npm publish --access public --npm-auth-token ${{ secrets.NPM_AUTH_TOKEN }}
8886
if: success()
8987

9088
- name: Revert package.json and package-lock.json

0 commit comments

Comments
 (0)