Add role-session-name for each aws-s3/sync command

This commit is contained in:
TimothyKeaveny 2023-06-28 01:02:06 +07:00
parent 18084a5cd0
commit a45ed1bba7

View file

@ -43,6 +43,7 @@ jobs:
steps:
- aws-s3/sync:
role-arn: '${AWS_OIDC_IAM_ROLE}'
role-session-name: "develop-branch-session"
aws-region: AWS_REGION
from: ./build
to: '${S3_BUCKET_NAME_develop}'
@ -54,6 +55,7 @@ jobs:
steps:
- aws-s3/sync:
role-arn: '${AWS_OIDC_IAM_ROLE}'
role-session-name: "master-branch-session"
aws-region: AWS_REGION
from: ./build
to: '${S3_BUCKET_NAME_develop}'