From 2ff01c001aa81b1f71927b3b5992a79475b76096 Mon Sep 17 00:00:00 2001 From: Neill Turner Date: Mon, 4 Nov 2024 14:00:24 +0000 Subject: [PATCH] preproduction database restore --- .github/workflows/database.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/database.yaml b/.github/workflows/database.yaml index c0f0c0075..d1c0058c3 100644 --- a/.github/workflows/database.yaml +++ b/.github/workflows/database.yaml @@ -61,8 +61,8 @@ jobs: - name: Set environment variables run: | - source global_config/${{ inputs.environment }}.sh - tf_vars_file=${TF_VARS_PATH}/${{ env.ENVIRONMENT }}/variables.tfvars.json + 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 "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