简体   繁体   中英

Code deployment in different webapps from one Bitbucket at once

I am new to Azure and I am setting up Umbraco Webapp. My scenario is I have two datacenters east and southeast and in each datacenter I have Umbraco webapp with MS SQL.

My questions are: How to push build to webapps ? I m doing it through Bitbucket.. But it is deploying only to east datacenter webapp. I want to know is it possible to push code from bit bucket to both datacenter at one time. My both datacenters are under traffic manager. If its not possible , what is the best practice to sync content to both webapps at once?

Thanks.

So, you have two Azure Web Apps and you are using BitBucket to deploy.

In both of your Web Apps,

  1. Setup deployment from source control.
  2. Choose BitBucket.

When you push to BitBucket, it will automatically deploy to both. Is there any reason why this will not work?

在此处输入图片说明

I am assuming you have setup Traffic Manager like this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM