diff --git a/.github/workflows/deploy-to-aks.yaml b/.github/workflows/deploy-to-aks.yaml index 4319573..219f26d 100644 --- a/.github/workflows/deploy-to-aks.yaml +++ b/.github/workflows/deploy-to-aks.yaml @@ -96,7 +96,7 @@ jobs: - name: Delete AKS cluster if: always() - run: az group delete --resource-group ${{ env.RESOURCE_GROUP }} --name ${{ env.NAME }} --yes + run: az aks delete --resource-group ${{ env.RESOURCE_GROUP }} --name ${{ env.NAME }} --yes - name: Delete AKS resource group if: always()