diff --git a/.github/workflows/tf_sample.yaml b/.github/workflows/tf_sample.yaml index 2cf758ea..39083352 100644 --- a/.github/workflows/tf_sample.yaml +++ b/.github/workflows/tf_sample.yaml @@ -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 @@ -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