Deploying to an Azure website
I am following this article....
Now I am finding the section about deploying to Azure a little ambiguous. So here is my question(s) which are not addressed in this document/article:
- Is it required to have the remote branch be called "Azure"?
- How does pushing from Azure branch to Master branch initiate the actual deployment?
If作者: AlvinfromDiaspar 的来源 发布者: 2017 年 12 月 27 日
'azure' is not the name of the branch, but the name of the remote (see this page if you're not familiar with the git remote concept). And you can choose to name the remote whatever you want.
As for how
git push azure master causes a deployment, it is done because the repo on Azure has a
post-receive hook which kicks the deployment. You can see this in Kudu console if you go to