diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c677b9c5..f675db14a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,16 +90,18 @@ jobs: deploy: needs: build - runs-on: ubuntu-20.04 - environment: staging + runs-on: ubuntu-latest - env: - ENV: ${{ vars.ENVIRONMENT }} # used in this workflow + strategy: + matrix: + environment: [prod] # TODO: add staging - # used by terraform cli + environment: ${{ matrix.environment }} + + env: + ENV: ${{ vars.ENVIRONMENT }} AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - TF_VARS: ${{ secrets.TF_VARS }} defaults: