Skip to content

Commit d628b4b

Browse files
feat: Add cleanup step to Azure Dev deployment workflow
1 parent 29b1d60 commit d628b4b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/azure-dev.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,10 @@ jobs:
4848
fi
4949
azd config set defaults.subscription "$AZURE_SUBSCRIPTION_ID"
5050
azd env set AZURE_ENV_OPENAI_LOCATION="$AZURE_LOCATION"
51-
azd up --no-prompt
51+
azd up --no-prompt
52+
53+
- name: Cleanup
54+
if: always()
55+
shell: bash
56+
run: |
57+
azd down --no-prompt --purge --force

0 commit comments

Comments
 (0)