File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change 11name : DocGen Deploy-Test-Cleanup Pipeline
22
33on :
4- workflow_run :
5- workflows : ["Build Docker and Optional Push"]
6- types :
7- - completed
8- branches :
9- - main
10- - dev
11- - demo
12-
13- schedule :
14- - cron : ' 0 9,21 * * *' # Runs at 9:00 AM and 9:00 PM GMT
4+ # workflow_run:
5+ # workflows: ["Build Docker and Optional Push"]
6+ # types:
7+ # - completed
8+ # branches:
9+ # - main
10+ # - dev
11+ # - demo
12+
13+ push :
14+ branches :
15+ - deploy-wf-fix
16+
17+ schedule :
18+ - cron : ' 0 9,21 * * *' # Runs at 9:00 AM and 9:00 PM GMT
1519
1620env :
1721 GPT_MIN_CAPACITY : 250
@@ -167,6 +171,8 @@ jobs:
167171 echo "KEY_VAULT_NAME=$KEY_VAULT_NAME" >> $GITHUB_ENV
168172 COSMOSDB_ACCOUNT_NAME=$(echo $BICEP_OUTPUT | jq -r '.cosmosdB_ACCOUNT_NAME.value')
169173 echo "COSMOSDB_ACCOUNT_NAME=$COSMOSDB_ACCOUNT_NAME" >> $GITHUB_ENV
174+ AI_FOUNDRY_NAME=$(echo $BICEP_OUTPUT | jq -r '.aI_FOUNDRY_NAME.value')
175+ echo "AI_FOUNDRY_NAME=$AI_FOUNDRY_NAME" >> $GITHUB_ENV
170176 echo "Deployment output: $BICEP_OUTPUT"
171177
172178 - name : Run Post-Deployment Script
@@ -182,6 +188,8 @@ jobs:
182188 "${{ secrets.AZURE_CLIENT_ID }}"
183189 bash ./infra/scripts/run_create_index_scripts.sh \
184190 "${{ env.KEY_VAULT_NAME }}" \
191+ "${{ env.RESOURCE_GROUP_NAME }}" \
192+ "${{ env.AI_FOUNDRY_NAME }}" \
185193 "${{ secrets.AZURE_CLIENT_ID }}"
186194
187195 - name : Logout from Azure
You can’t perform that action at this time.
0 commit comments