Skip to content

Commit

Permalink
Merge pull request #11 from Roopan-Microsoft/update-makefile
Browse files Browse the repository at this point in the history
feat: update deploy target to ensure az-login is executed before deployment
  • Loading branch information
Roopan-Microsoft authored Oct 30, 2024
2 parents 6cff48c + 3ad11e6 commit 76d6ad5
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 76d6ad5

Please sign in to comment.