Skip to content

Commit af6242e

Browse files
PaulDuvallclaude
andcommitted
fix: update workflow to use AWS_DEPLOYMENT_ROLE variable name
- Change AWS_ROLE to AWS_DEPLOYMENT_ROLE in workflow condition and role assumption - Match existing GitHub repository variable naming convention - Fixes workflow skipping issue when AWS variables are configured 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0c9a8ea commit af6242e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npm-publish-simple.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
publish:
1414
runs-on: ubuntu-latest
15-
if: vars.AWS_ROLE != ''
15+
if: vars.AWS_DEPLOYMENT_ROLE != ''
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: aws-actions/configure-aws-credentials@v4
2626
with:
27-
role-to-assume: ${{ vars.AWS_ROLE }}
27+
role-to-assume: ${{ vars.AWS_DEPLOYMENT_ROLE }}
2828
aws-region: ${{ vars.AWS_REGION || 'us-east-1' }}
2929

3030
- name: Configure NPM

0 commit comments

Comments
 (0)