diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 82fd19a0f..e9cf9dcb8 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -14,6 +14,14 @@ on: options: - production - beta + CA_TOKEN: + description: 'CodeArtifact Token' + required: true + type: string + CA_OWNER: + description: 'CodeArtifact Domain Owner' + required: true + type: string permissions: contents: read @@ -30,8 +38,8 @@ jobs: runs-on: ubuntu-latest env: - CODEARTIFACT_TOKEN: ${{ secrets.CODEARTIFACT_TOKEN }} - CODEARTIFACT_DOMAIN_OWNER: ${{ secrets.CODEARTIFACT_DOMAIN_OWNER_MAIN }} + CODEARTIFACT_TOKEN: ${{ inputs.CA_TOKEN }} + CODEARTIFACT_DOMAIN_OWNER: ${{ inputs.CA_OWNER }} steps: - name: Checkout