We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8f0f80 + a682730 commit 6c6dab3Copy full SHA for 6c6dab3
.github/workflows/deploy.yml
@@ -223,7 +223,7 @@ jobs:
223
- name: Configure AWS credentials
224
uses: aws-actions/configure-aws-credentials@v4
225
with:
226
- role-to-assume: ${{ needs.setup.outputs.aws-role-arn }}
+ role-to-assume: ${{ env.ENVIRONMENT == 'prod' && secrets.AWS_ROLE_ARN_PROD || secrets.AWS_ROLE_ARN_DEV }}
227
role-session-name: GitHubActions-DockerBuild
228
aws-region: ${{ env.AWS_REGION }}
229
0 commit comments