Skip to content

Commit

Permalink
build(aws): switch AWS CLI auth to access key (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon authored Jul 25, 2023
1 parent 667cde9 commit 40570e6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40570e6

Please sign in to comment.