From 3ad11e6e393486f916c33eb5222b44e00ac3c37c Mon Sep 17 00:00:00 2001 From: Prashant-Microsoft Date: Tue, 29 Oct 2024 14:45:02 +0530 Subject: [PATCH] update deploy target to ensure az-login is executed before deployment --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6c33f0b6d..6d816c65a 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ azd-login: ## 🔑 Login to Azure with azd and a SPN az-login: ## 🔑 Login to Azure with az and a SPN az login --service-principal -u ${AZURE_CLIENT_ID} -p ${AZURE_CLIENT_SECRET} --tenant ${AZURE_TENANT_ID} -deploy: azd-login ## 🚀 Deploy everything to Azure +deploy: azd-login az-login ## 🚀 Deploy everything to Azure @echo -e "\e[34m$@\e[0m" || true @azd env new ${AZURE_ENV_NAME} @azd env set AZURE_APP_SERVICE_HOSTING_MODEL code --no-prompt