Deploying to an Azure website

git visual-studio azure azure-web-sites

71 观看

1回复

2688 作者的声誉

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 日

回应 1


1

36582 作者的声誉

决定

'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 D:\home\site\repository\.git\hooks.

作者: David Ebbo 发布者: 2017 年 12 月 27 日
32x32