You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ jobs:
98
98
rg_exists=$(az group exists --name ${{ env.RESOURCE_GROUP_NAME }})
99
99
if [ "$rg_exists" = "false" ]; then
100
100
echo "Resource group does not exist. Creating..."
101
-
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location northcentralus || { echo "Error creating resource group"; exit 1; }
101
+
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location australiaeast || { echo "Error creating resource group"; exit 1; }
102
102
else
103
103
echo "Resource group already exists."
104
104
fi
@@ -382,7 +382,7 @@ jobs:
382
382
383
383
# Purge OpenAI Resource
384
384
echo "Purging the OpenAI Resource..."
385
-
if ! az resource delete --ids /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/providers/Microsoft.CognitiveServices/locations/northcentralus/resourceGroups/${{ env.RESOURCE_GROUP_NAME }}/deletedAccounts/${{ env.OPENAI_RESOURCE_NAME }} --verbose; then
385
+
if ! az resource delete --ids /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/providers/Microsoft.CognitiveServices/locations/australiaeast/resourceGroups/${{ env.RESOURCE_GROUP_NAME }}/deletedAccounts/${{ env.OPENAI_RESOURCE_NAME }} --verbose; then
386
386
echo "Failed to purge openai resource: ${{ env.OPENAI_RESOURCE_NAME }}"
387
387
else
388
388
echo "Purged the openai resource: ${{ env.OPENAI_RESOURCE_NAME }}"
0 commit comments