Skip to content

Commit 38c99ae

Browse files
change CA repository to internal-npm
1 parent afd1fcb commit 38c99ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929

3030
env:
3131
CODEARTIFACT_DOMAIN: main
32-
CODEARTIFACT_REPOSITORY: vtex-npm
32+
CODEARTIFACT_REPOSITORY: internal-npm
3333
NPM_PACKAGE_NAME: "vtex"
3434
AWS_REGION: us-east-1
3535

@@ -68,7 +68,7 @@ jobs:
6868
- name: Download package from CodeArtifact
6969
run: |
7070
set -euo pipefail
71-
VERSION="${{ inputs.version }}"
71+
VERSION="${{ github.event.inputs.version }}"
7272
7373
echo "Downloading ${NPM_PACKAGE_NAME}@${VERSION} from CodeArtifact..."
7474
npm pack "${NPM_PACKAGE_NAME}@${VERSION}"
@@ -86,7 +86,7 @@ jobs:
8686
set -euo pipefail
8787
TARBALL=$(ls -1 *.tgz | head -n 1)
8888
TAG_FLAG=""
89-
if [ "${{ inputs.environment }}" = "beta" ]; then
89+
if [ "${{ github.event.inputs.environment }}" = "beta" ]; then
9090
TAG_FLAG="--tag beta"
9191
fi
9292
echo "Publishing ${TARBALL} to npmjs..."

0 commit comments

Comments
 (0)