Skip to content

Commit 8f34321

Browse files
authored
chore: switch NPM publishing token source (#1494)
* chore: switch NPM publishing token source * delete .changeset/olive-lies-bake.md
1 parent f35a075 commit 8f34321

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-npm-packages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: aws-actions/configure-aws-credentials@v4
3131
with:
3232
aws-region: us-west-2
33-
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
33+
role-to-assume: ${{ secrets.JS_TEAM_ROLE_TO_ASSUME }}
3434
role-session-name: SmithyTypeScriptGitHubRelease
3535
audience: sts.amazonaws.com
3636
- name: Commit
@@ -46,9 +46,9 @@ jobs:
4646
id: token
4747
if: steps.commit.outcome == 'success'
4848
run: |
49-
aws configure --profile token set role_arn ${{ secrets.TOKEN_ROLE }}
49+
aws configure --profile token set role_arn ${{ secrets.JS_TEAM_TOKEN_ROLE }}
5050
aws configure --profile token set credential_source Environment
51-
npm_token=$(aws secretsmanager get-secret-value --region us-west-2 --secret-id=SMITHY_PUBLISH_npmToken --query SecretString --output text --profile token)
51+
npm_token=$(aws secretsmanager get-secret-value --region us-west-2 --secret-id=smithy-typescript-npm-token --query SecretString --output text --profile token)
5252
echo "::add-mask::$npm_token"
5353
echo "NPM_TOKEN=$npm_token" >> $GITHUB_ENV
5454
- name: Stage Release

0 commit comments

Comments
 (0)