Skip to content

Commit

Permalink
chore(ci): add prod environment
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Apr 19, 2024
1 parent de1dc6f commit 4958612
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4958612

Please sign in to comment.