From 40570e644386a632222d8484bc7a142ee229ee1f Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Tue, 25 Jul 2023 23:33:41 +0300 Subject: [PATCH] build(aws): switch AWS CLI auth to access key (#332) --- .github/workflows/release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06cf8b04e..6feef4806 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,16 +47,13 @@ jobs: ref: v1 token: ${{ secrets.GH_TOKEN }} path: .github/.release/actions - - name: configure aws credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN }} - role-session-name: javascript-sdk-s3-upload - aws-region: us-east-1 - name: Publish to S3 uses: ./.github/.release/actions/actions/services/aws with: token: ${{ secrets.GH_TOKEN }} + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + auth-method: access-key content-type: application/javascript content-encoding: gzip acl: public-read