Skip to content

Commit 4dc04b6

Browse files
committed
Fix secret name in workflow
1 parent 14b0060 commit 4dc04b6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/_publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ on:
1313
type: string
1414
required: true
1515
secrets:
16-
registry_token:
17-
description: The package registry token.
18-
required: true
1916
node_auth_token:
2017
description: The Node.js auth token.
2118
required: true
@@ -43,7 +40,7 @@ jobs:
4340
- name: Publish
4441
uses: JS-DevTools/npm-publish@v2
4542
with:
46-
token: ${{ secrets.registry_token }}
43+
token: ${{ secrets.node_auth_token }}
4744
registry: ${{ inputs.registry_url }}
4845
package: ${{ steps.meta.outputs.tgz }}
4946
access: public

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
artifact_name: ${{ needs.build.outputs.artifact_name }}
5252
registry_url: https://registry.npmjs.org
5353
secrets:
54-
registry_token: ${{ secrets.NPM_TOKEN }}
54+
node_auth_token: ${{ secrets.NPM_TOKEN }}
5555
github:
5656
name: GitHub Packages
5757
uses: ./.github/workflows/_publish.yml
@@ -63,4 +63,4 @@ jobs:
6363
artifact_name: ${{ needs.build.outputs.artifact_name }}
6464
registry_url: https://npm.pkg.github.com
6565
secrets:
66-
registry_token: ${{ secrets.GITHUB_TOKEN }}
66+
node_auth_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)