Skip to content

Commit 2d7d122

Browse files
Merge pull request #474 from microsoft/deploy-wf-fix
ci: fixed deployment pipeline
2 parents d66f6d0 + fc12757 commit 2d7d122

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ jobs:
167167
echo "KEY_VAULT_NAME=$KEY_VAULT_NAME" >> $GITHUB_ENV
168168
COSMOSDB_ACCOUNT_NAME=$(echo $BICEP_OUTPUT | jq -r '.cosmosdB_ACCOUNT_NAME.value')
169169
echo "COSMOSDB_ACCOUNT_NAME=$COSMOSDB_ACCOUNT_NAME" >> $GITHUB_ENV
170+
AI_FOUNDRY_NAME=$(echo $BICEP_OUTPUT | jq -r '.aI_FOUNDRY_NAME.value')
171+
echo "AI_FOUNDRY_NAME=$AI_FOUNDRY_NAME" >> $GITHUB_ENV
170172
echo "Deployment output: $BICEP_OUTPUT"
171173
172174
- name: Run Post-Deployment Script
@@ -182,6 +184,8 @@ jobs:
182184
"${{ secrets.AZURE_CLIENT_ID }}"
183185
bash ./infra/scripts/run_create_index_scripts.sh \
184186
"${{ env.KEY_VAULT_NAME }}" \
187+
"${{ env.RESOURCE_GROUP_NAME }}" \
188+
"${{ env.AI_FOUNDRY_NAME }}" \
185189
"${{ secrets.AZURE_CLIENT_ID }}"
186190
187191
- name: Logout from Azure

0 commit comments

Comments
 (0)