DEVOPS-1581 FIX: environment names in deploy script

This commit is contained in:
Alex Urbina 2023-11-21 21:21:36 -06:00
parent fba2d9fa4d
commit fea5b7b96e
No known key found for this signature in database
GPG Key ID: BFAFE8D81FF8B38D
1 changed files with 2 additions and 2 deletions

View File

@ -43,10 +43,10 @@ jobs:
echo "environment-name=Web Vault - ${{ inputs.environment }}" >> $GITHUB_OUTPUT
echo "environment-branch=cf-pages-$ENV_NAME_LOWER" >> $GITHUB_OUTPUT
echo "environment-artifact=web-*-cloud-${{ inputs.environment }}.zip" >> $GITHUB_OUTPUT
if [ ${{ inputs.environment }} == "qa" ]; then
if [ ${{ inputs.environment }} == "QA" ]; then
echo "azure-login-creds=AZURE_KV_US_QA_SERVICE_PRINCIPAL" >> $GITHUB_OUTPUT
echo "retrieve-secrets-keyvault=bw-webvault-rlktusqa-kv" >> $GITHUB_OUTPUT
elif [ ${{ inputs.environment }} == "euqa" ]; then
elif [ ${{ inputs.environment }} == "EUQA" ]; then
echo "azure-login-creds=AZURE_KV_EU_QA_SERVICE_PRINCIPAL" >> $GITHUB_OUTPUT
echo "retrieve-secrets-keyvault=webvaulteu-westeurope-qa" >> $GITHUB_OUTPUT
fi