1414 azure_location :
1515 description : ' Azure Location For Deployment'
1616 required : false
17- default : ' '
17+ default : ' australiaeast '
1818 type : string
1919 resource_group_name :
2020 description : ' Resource Group Name (Optional)'
@@ -159,7 +159,7 @@ jobs:
159159 export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}"
160160 export GPT_MIN_CAPACITY=${{ env.GPT_MIN_CAPACITY }}
161161 export TEXT_EMBEDDING_MIN_CAPACITY=${{ env.TEXT_EMBEDDING_MIN_CAPACITY }}
162- export AZURE_REGIONS="${{ inputs.azure_location || vars.AZURE_REGIONS }}"
162+ export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}"
163163
164164 chmod +x infra/scripts/checkquota_km.sh
165165 if ! infra/scripts/checkquota_km.sh; then
@@ -185,7 +185,7 @@ jobs:
185185 echo "AZURE_ENV_OPENAI_LOCATION=$VALID_REGION" >> $GITHUB_ENV
186186 echo "AZURE_ENV_OPENAI_LOCATION=$VALID_REGION" >> $GITHUB_OUTPUT
187187
188- if [[ "${{ inputs.trigger_type }}" == "workflow_dispatch" && -n "${{ inputs.azure_location }}" && "${{ inputs.azure_location }}" != "none" ]]; then
188+ if [[ "${{ inputs.trigger_type }}" == "workflow_dispatch" && -n "${{ inputs.azure_location }}" ]]; then
189189 USER_SELECTED_LOCATION="${{ inputs.azure_location }}"
190190 echo "Using user-selected Azure location: $USER_SELECTED_LOCATION"
191191 echo "AZURE_LOCATION=$USER_SELECTED_LOCATION" >> $GITHUB_ENV
@@ -311,7 +311,7 @@ jobs:
311311 echo "| **Cleanup Resources** | ${{ env.CLEANUP_RESOURCES == 'true' && '✅ Yes' || '❌ No' }} |" >> $GITHUB_STEP_SUMMARY
312312 echo "| **Build Docker Image** | ${{ env.BUILD_DOCKER_IMAGE == 'true' && '✅ Yes' || '❌ No' }} |" >> $GITHUB_STEP_SUMMARY
313313
314- if [[ "${{ inputs.trigger_type }}" == "workflow_dispatch" && -n "${{ inputs.azure_location }}" && "${{ inputs.azure_location }}" != "none" ]]; then
314+ if [[ "${{ inputs.trigger_type }}" == "workflow_dispatch" && -n "${{ inputs.azure_location }}" ]]; then
315315 echo "| **Azure Location** | \`${{ inputs.azure_location }}\` (User Selected) |" >> $GITHUB_STEP_SUMMARY
316316 fi
317317
0 commit comments