Skip to content

Commit

Permalink
add github env deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Rishav Dhar <19497993+RDhar@users.noreply.github.com>
  • Loading branch information
rdhar committed Jul 16, 2024
1 parent 34f01d1 commit 441a8f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tf_sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
matrix:
context: [dev, stg]

environment: ${{ format('{0}', github.event.pull_request.merged && matrix.context || '') }}

steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down Expand Up @@ -58,6 +60,8 @@ jobs:
matrix:
context: [dev, stg]

environment: ${{ format('{0}', github.event.pull_request.merged && matrix.context || '') }}

steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down

0 comments on commit 441a8f3

Please sign in to comment.