Skip to content

Commit

Permalink
added code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tope Emmanuel committed Sep 15, 2023
1 parent 318b8bb commit ef90bbb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/actions/deploy_v2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit ef90bbb

Please sign in to comment.