Skip to content

Commit f8652c2

Browse files
changed: ⚙️ moved workflow file and updated secrets
1 parent 8df8e3a commit f8652c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
workflow_dispatch:
88
workflow_call:
99
secrets:
10-
NPM_TOKEN:
10+
npm_token:
1111
required: true
12-
GH_TOKEN:
12+
gh_token:
1313
required: true
1414

1515
jobs:
@@ -36,11 +36,11 @@ jobs:
3636

3737
- name: publish to npm
3838
run: |
39-
npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
39+
npm set //registry.npmjs.org/:_authToken ${{ secrets.npm_token }}
4040
npm run publish:npm
4141
4242
- name: publish to github
4343
run: |
4444
npm config set registry https://npm.pkg.github.com
45-
npm set //npm.pkg.github.com/:_authToken ${{ secrets.GH_TOKEN }}
45+
npm set //npm.pkg.github.com/:_authToken ${{ secrets.gh_token }}
4646
npm run publish:github

0 commit comments

Comments
 (0)