Skip to content

Commit 53f6eb7

Browse files
add CA_TOKEN as input
1 parent 09d853e commit 53f6eb7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish-npm.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
options:
1515
- production
1616
- beta
17+
CA_TOKEN:
18+
description: 'CodeArtifact Token'
19+
required: true
20+
type: string
1721

1822
permissions:
1923
contents: read
@@ -30,7 +34,7 @@ jobs:
3034
runs-on: ubuntu-latest
3135

3236
env:
33-
CODEARTIFACT_TOKEN: ${{ secrets.CODEARTIFACT_TOKEN }}
37+
CODEARTIFACT_TOKEN: ${{ inputs.CA_TOKEN }}
3438
CODEARTIFACT_DOMAIN_OWNER: ${{ secrets.CODEARTIFACT_DOMAIN_OWNER_MAIN }}
3539

3640
steps:

0 commit comments

Comments
 (0)