From 86816ad8c9035eab0f2b91165f97f2b1fa389689 Mon Sep 17 00:00:00 2001 From: Bernard Wolff <2744510+bernardwolff@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:26:16 +0000 Subject: [PATCH] add aws-actions/configure-aws-credentials --- .github/workflows/build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 803f9e0..13de55d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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:::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 }} \ No newline at end of file + run: sh tools/cdn.sh \ No newline at end of file