We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8de1e commit 16e39f6Copy full SHA for 16e39f6
1 file changed
.github/workflows/deploy-Parameterized.yml
@@ -660,8 +660,9 @@ jobs:
660
echo "⚠️ Skipping Docker image cleanup (using standard branch image: $IMAGE_TAG)"
661
fi
662
663
- - name: Select Environment
+ - name: Select Environment and Delete deployment using azd
664
run: |
665
+ set -e
666
# Try to select the environment if it exists, otherwise create a minimal environment for cleanup
667
azd env list
668
if azd env list | grep -q "${{ env.ENV_NAME }}"; then
@@ -676,9 +677,6 @@ jobs:
676
677
azd env set AZURE_LOCATION="${{ env.AZURE_LOCATION }}"
678
679
- - name: Delete deployment using azd
680
- run: |
681
- set -e
682
echo "Deleting deployment..."
683
azd down --purge --force --no-prompt
684
echo "Deployment deleted successfully."
0 commit comments