File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -128,15 +128,11 @@ jobs:
128128
129129 # Set additional parameters
130130 azd env set AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}"
131- azd env set AZURE_ENV_OPENAI_LOCATION="${{ inputs.AZURE_LOCATION }}"
131+ azd env set AZURE_ENV_OPENAI_LOCATION="${{ inputs.AZURE_ENV_OPENAI_LOCATION }}"
132132 azd env set AZURE_LOCATION="${{ inputs.AZURE_LOCATION }}"
133133 azd env set AZURE_RESOURCE_GROUP="${{ inputs.RESOURCE_GROUP_NAME }}"
134134 azd env set AZURE_ENV_IMAGETAG="${{ inputs.IMAGE_TAG }}"
135135
136- # Set infrastructure parameters that azd expects (both use AZURE_LOCATION like CI.yml)
137- azd env set aiDeploymentsLocation="${{ inputs.AZURE_LOCATION }}"
138- azd env set location="${{ inputs.AZURE_LOCATION }}"
139-
140136 # Set ACR name only when building Docker image
141137 if ("${{ inputs.BUILD_DOCKER_IMAGE }}" -eq "true") {
142138 $ACR_NAME = "${{ secrets.ACR_TEST_USERNAME }}"
@@ -170,10 +166,10 @@ jobs:
170166 Write-Host "❌ EXP DISABLED - Skipping EXP parameters"
171167 }
172168
173- # Deploy using azd up with inline parameter for aiDeploymentsLocation
169+ # Deploy using azd up
174170 Write-Host "Starting deployment with azd up..."
175171 try {
176- azd up --no-prompt --parameter aiDeploymentsLocation="${{ inputs.AZURE_LOCATION }}"
172+ azd up --no-prompt
177173 if ($LASTEXITCODE -ne 0) {
178174 Write-Host "❌ Deployment failed with exit code: $LASTEXITCODE"
179175 exit 1
Original file line number Diff line number Diff line change 88 "location" : {
99 "value" : " ${AZURE_LOCATION}"
1010 },
11+ "aiDeploymentsLocation" : {
12+ "value" : " ${AZURE_ENV_OPENAI_LOCATION}"
13+ },
1114 "gptModelDeploymentType" : {
1215 "value" : " ${AZURE_ENV_MODEL_DEPLOYMENT_TYPE}"
1316 },
Original file line number Diff line number Diff line change 88 "location" : {
99 "value" : " ${AZURE_LOCATION}"
1010 },
11+ "aiDeploymentsLocation" : {
12+ "value" : " ${AZURE_ENV_OPENAI_LOCATION}"
13+ },
1114 "gptModelDeploymentType" : {
1215 "value" : " ${AZURE_ENV_MODEL_DEPLOYMENT_TYPE}"
1316 },
You can’t perform that action at this time.
0 commit comments