We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f05af commit 448a4c4Copy full SHA for 448a4c4
1 file changed
.github/workflows/deploy.yml
@@ -64,6 +64,16 @@ jobs:
64
- name: Install Post-CSS
65
run: npm install postcss-cli
66
67
+ - name: Validate AWS OIDC role
68
+ run: |
69
+ if [ -z "$DEPLOY_ROLE_ARN" ] && [ -z "$AWS_OIDC_ROLE" ]; then
70
+ printf '%s\n' "Either the deploy-role-arn input or AWS_OIDC_ROLE secret must be provided." >&2
71
+ exit 1
72
+ fi
73
+ env:
74
+ DEPLOY_ROLE_ARN: ${{ inputs.deploy-role-arn }}
75
+ AWS_OIDC_ROLE: ${{ secrets.AWS_OIDC_ROLE }}
76
+
77
- name: AWS Github OIDC Login
78
uses: aws-actions/configure-aws-credentials@v6
79
with:
0 commit comments