We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0628523 commit c28f930Copy full SHA for c28f930
.github/workflows/test.yaml
@@ -3,14 +3,17 @@ name: test
3
on:
4
workflow_dispatch:
5
6
+env:
7
+ TARGET_ENV: poc
8
+
9
jobs:
10
deploy:
11
name: Deploy
12
runs-on: ubuntu-latest
13
permissions:
14
id-token: write
- environment: poc
- concurrency: deploy-poc-${{ github.ref }}
15
+ environment: ${{ env.TARGET_ENV }}
16
+ concurrency: deploy-${{ env.TARGET_ENV }}-${{ github.ref }}
17
18
steps:
19
- name: Checkout code
@@ -29,6 +32,5 @@ jobs:
29
32
terraform_version: 1.11.4
30
33
31
34
- name: Terraform init
- env:
- TARGET_ENV: ${{ job.environment }}
- run: make ${TARGET_ENV} terraform-init
35
+ run: |
36
+ make ${TARGET_ENV} terraform-init
0 commit comments