From 884421b7534e0653ebb7304b1f6383ccce0a6a11 Mon Sep 17 00:00:00 2001 From: ryanformio Date: Thu, 14 Mar 2024 12:53:50 -0500 Subject: [PATCH] Adding aws creds to step --- .github/workflows/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index c696370177..185acf4ce1 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -142,6 +142,10 @@ jobs: if: startsWith(github.ref, 'refs/tags/') needs: [build, test] runs-on: ubuntu-latest + env: + AWS_DEFAULT_REGION: us-west-2 + AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: - run: echo "Triggered by ${{ github.event_name }} event." @@ -165,7 +169,12 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - name: Test + - name: Install awscli + run: | + sudo apt-get update + sudo apt install -y awscli + + - name: Release uses: borales/actions-yarn@v4 with: cmd: release \ No newline at end of file