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