Skip to content

Commit

Permalink
add aws-actions/configure-aws-credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardwolff committed Dec 19, 2024
1 parent 27e7060 commit 86816ad
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ jobs:
- name: Install dependencies
run: yarn

- name: Configure AWS Credentials using OIDC
uses: aws-actions/configure-aws-credentials@v4
with:
# TODO: update ACCOUNT and UPLOAD_ROLE
role-to-assume: arn:aws:iam::<ACCOUNT>:role/<UPLOAD_ROLE>
role-session-name: github-action-account-link-extension-publish
aws-region: us-west-1

- name: Run Deploy
run: sh tools/cdn.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: sh tools/cdn.sh

0 comments on commit 86816ad

Please sign in to comment.