Skip to content

Commit

Permalink
update deploy target to ensure az-login is executed before deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant-Microsoft committed Oct 29, 2024
1 parent 6cff48c commit 3ad11e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ad11e6

Please sign in to comment.