File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ permissions:
1818 id-token : write
1919
2020env :
21+ ENVNAME : ${{ inputs.environment }}
2122 ACCT : ${{ inputs.environment == 'production' && '990880627107' || '327995277200' }}
2223 BUCKET : ${{ inputs.environment == 'production' && 'tiny-cloud-antora-docs-release' || 'tiny-cloud-antora-docs-preview' }}
2324 RUN : run-${{ github.run_number }}-${{ github.run_attempt }}
6162 - name : configure aws credentials
6263 uses :
aws-actions/[email protected] 6364 with :
64- role-to-assume : ' arn:aws:iam::${{ env.ACCT }}:role/${{ inputs.environment }}-tinymce-docs-update'
65- role-session-name : tinymce-docs-${{ inputs.environment }}-release
65+ role-to-assume : ' arn:aws:iam::${{ env.ACCT }}:role/${{ env.ENVNAME }}-tinymce-docs-update'
66+ role-session-name : tinymce-docs-${{ env.ENVNAME }}-release
6667 aws-region : us-east-1
6768
6869 - name : Upload website preview to S3
You can’t perform that action at this time.
0 commit comments