From ef90bbb644d33cdec4fcc67c0c220387f3f39dab Mon Sep 17 00:00:00 2001 From: Tope Emmanuel Date: Fri, 15 Sep 2023 19:53:15 +0100 Subject: [PATCH] added code --- .github/workflows/actions/deploy_v2/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/deploy_v2/action.yml b/.github/workflows/actions/deploy_v2/action.yml index 329a7e6477..7fdc9df6fe 100644 --- a/.github/workflows/actions/deploy_v2/action.yml +++ b/.github/workflows/actions/deploy_v2/action.yml @@ -57,11 +57,13 @@ runs: echo terraform version - name: Terraform init, plan & apply - if: ${{ inputs.environment }} == "Review_aks" + if: ${{ inputs.environment }} == "Review" shell: bash run: | envtolower=`echo "${{ inputs.environment }} " | awk '{ print tolower($1) }'` - make ci $envtolower_aks terraform-plan-aks PR_NUMBER=${{ inputs.pr }} + envval="${envtolower}_aks" + echo "envval is ${envval}" + make ci ${envval} terraform-plan-aks PR_NUMBER=${{ inputs.pr }} env: IMAGE_TAG: ${{ inputs.sha }}