Skip to content

Commit c28f930

Browse files
Change target environment variable references
1 parent 0628523 commit c28f930

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ name: test
33
on:
44
workflow_dispatch:
55

6+
env:
7+
TARGET_ENV: poc
8+
69
jobs:
710
deploy:
811
name: Deploy
912
runs-on: ubuntu-latest
1013
permissions:
1114
id-token: write
12-
environment: poc
13-
concurrency: deploy-poc-${{ github.ref }}
15+
environment: ${{ env.TARGET_ENV }}
16+
concurrency: deploy-${{ env.TARGET_ENV }}-${{ github.ref }}
1417

1518
steps:
1619
- name: Checkout code
@@ -29,6 +32,5 @@ jobs:
2932
terraform_version: 1.11.4
3033

3134
- name: Terraform init
32-
env:
33-
TARGET_ENV: ${{ job.environment }}
34-
run: make ${TARGET_ENV} terraform-init
35+
run: |
36+
make ${TARGET_ENV} terraform-init

0 commit comments

Comments
 (0)