File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616env :
1717 GPT_MIN_CAPACITY : 150
1818 TEXT_EMBEDDING_MIN_CAPACITY : 80
19- BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
19+ BRANCH_NAME : ${{ github.event.workflow_run.head_branch || github. head_ref || github.ref_name }}
2020
2121jobs :
2222 deploy :
@@ -181,14 +181,17 @@ jobs:
181181 az account set --subscription "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
182182
183183 echo "Running post-deployment script..."
184+
184185 bash ./infra/scripts/copy_kb_files.sh \
185186 "${{ env.STORAGE_ACCOUNT_NAME }}" \
186187 "${{ env.STORAGE_CONTAINER_NAME }}" \
187188 "${{ secrets.AZURE_CLIENT_ID }}"
189+
188190 bash ./infra/scripts/run_create_index_scripts.sh \
189191 "${{ env.KEY_VAULT_NAME }}" \
190192 "${{ env.RESOURCE_GROUP_NAME }}" \
191193 "${{ env.AI_FOUNDRY_NAME }}" \
194+ "${{ env.RESOURCE_GROUP_NAME }}" \
192195 "${{ env.AI_SEARCH_SERVICE_NAME }}" \
193196 "${{ secrets.AZURE_CLIENT_ID }}"
194197
You can’t perform that action at this time.
0 commit comments