From 8e81106d43dab95ea1ea31f9f65a627b8b9f9b05 Mon Sep 17 00:00:00 2001 From: Shahe Islam Date: Mon, 11 Nov 2024 13:03:50 +0000 Subject: [PATCH] Adding CONFIG env correction --- .github/workflows/database.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/database.yaml b/.github/workflows/database.yaml index dacd42f37..400116ccc 100644 --- a/.github/workflows/database.yaml +++ b/.github/workflows/database.yaml @@ -64,6 +64,7 @@ jobs: source global_config/${DEPLOY_ENV}.sh tf_vars_file=${TF_VARS_PATH}/${CONFIG}/variables.tfvars.json echo "CLUSTER=$(jq -r '.cluster' ${tf_vars_file})" >> $GITHUB_ENV + echo "CONFIG=${CONFIG}" >> $GITHUB_ENV echo "RESOURCE_GROUP_NAME=${AZURE_RESOURCE_PREFIX}-${SERVICE_SHORT}-${CONFIG_SHORT}-rg" >> $GITHUB_ENV echo "STORAGE_ACCOUNT_NAME=${AZURE_RESOURCE_PREFIX}${SERVICE_SHORT}dbbkp${CONFIG_SHORT}sa" >> $GITHUB_ENV TODAY=$(date +"%F") @@ -92,7 +93,7 @@ jobs: with: storage-account: ${{ env.STORAGE_ACCOUNT_NAME }} resource-group: ${{ env.RESOURCE_GROUP_NAME }} - app-name: ${{ env.SERVICE_NAME }}-${CONFIG}-web + app-name: ${{ env.SERVICE_NAME }}-${{ env.CONFIG }}-web cluster: ${{ env.CLUSTER }} azure-credentials: ${{ secrets.AZURE_CREDENTIALS }} backup-file: ${{ env.BACKUP_FILE }}.sql