From 42febd88316bd0f327b2df5a75cc63ec7cc8688a Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Mon, 26 Feb 2024 13:36:22 -0700 Subject: [PATCH] add AWS variables to test job --- .github/workflows/test-and-publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index b1faa74..4539b4e 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -7,6 +7,12 @@ jobs: tests: name: Tests runs-on: ubuntu-latest + env: + AWS_REGION: ${{ vars.AWS_REGION }} + STG_AWS_ACCESS_KEY_ID: ${{ vars.STG_AWS_ACCESS_KEY_ID }} + STG_AWS_SECRET_ACCESS_KEY: ${{ secrets.STG_AWS_SECRET_ACCESS_KEY }} + PRD_AWS_ACCESS_KEY_ID: ${{ vars.PRD_AWS_ACCESS_KEY_ID }} + PRD_AWS_SECRET_ACCESS_KEY: ${{ secrets.PRD_AWS_SECRET_ACCESS_KEY }} steps: - name: Checkout code uses: actions/checkout@v4