Skip to content

Commit

Permalink
ER: Revert changes to input app version on Terraform deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-sidhu-and committed Dec 6, 2023
1 parent cc5e8c2 commit 296b37a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/tf-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
- development
- staging
- production
version:
description: 'App version to deploy'
type: string
default: latest

defaults:
run:
Expand Down Expand Up @@ -75,7 +71,6 @@ jobs:
WEB_SECRETS: ${{ toJSON(secrets) }}
WEB_VARS: ${{ toJSON(vars) }}
run: |
echo "WEB_VARS=$( jq '${{ env.WEB_VARS }} += { "webapp_docker_image_tag": "${{ inputs.version }}" }' )" >> $GITHUB_ENV
printf '%s\n' "$WEB_SECRETS" > tmp-secrets.json
printf '%s\n' "$WEB_VARS" > tmp-vars.json
jq 'with_entries(.key |= ascii_downcase)' tmp-secrets.json > web-secrets.auto.tfvars.json
Expand Down Expand Up @@ -173,7 +168,6 @@ jobs:
WEB_SECRETS: ${{ toJSON(secrets) }}
WEB_VARS: ${{ toJSON(vars) }}
run: |
echo "WEB_VARS=$( jq '${{ env.WEB_VARS }} += { "webapp_docker_image_tag": "${{ inputs.version }}" }' )" >> $GITHUB_ENV
printf '%s\n' "$WEB_SECRETS" > tmp-secrets.json
printf '%s\n' "$WEB_VARS" > tmp-vars.json
jq 'with_entries(.key |= ascii_downcase)' tmp-secrets.json > web-secrets.auto.tfvars.json
Expand Down

0 comments on commit 296b37a

Please sign in to comment.