Skip to content

Commit

Permalink
add params to what-if..yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yus04 committed Nov 7, 2024
1 parent 5b0da11 commit 2629603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/5.what-if.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: what-if using Azure CLI
run: |
set +e
results=$(az deployment sub what-if --template-file "./5.internal-document-search/infra/main.bicep" --location JapanEast -p vmLoginPassword=dummy -p resourceGroupName=rg-${{ github.run_id }} -p isPrivateNetworkEnabled=false -p environmentName=${{ github.run_id }} -p location=japaneast 2>&1)
results=$(az deployment sub what-if --template-file "./5.internal-document-search/infra/main.bicep" --location JapanEast -p vmLoginPassword=dummy -p resourceGroupName=rg-${{ github.run_id }} -p isPrivateNetworkEnabled=false -p environmentName=${{ github.run_id }} -p location=japaneast -p AzureOpenAIServiceRegion=dummy -p useApiManagement=false 2>&1)
echo "$results"
# Check if "Error" is present in $results
if echo "$results" | grep -i "Error"; then
Expand Down

0 comments on commit 2629603

Please sign in to comment.