0 Comments

 

I know this subject has been covered extensively, but I wanted to do a simple how to, for the fact that it is … simple.

 

New Azure Website

In Azure when creating a new CUSTOM website, you will find a checkbox at the bottom "Publish from source control"…check it. This will give you the option of choosing your source control provider, after choosing your provider depending, on which on it is (in my case Github or Bitbucket), then select the repository and then you must select which branch you want this website to be on.

That's it!

If by mistake you chose the quick create …no worries goto Existing website.

Existing Website

From the dashboard of an existing website look for "Set up deployment from source control", click it. You will then have to choose which one is your provider, depending on which it is (in my case Github or Bitbucket), then select the repository and then you must select which branch you want this website to be on.

That's it!

Once your website is setup for source control deployment, ANY commit that you do in this repositor/branch will now trigger a deployment of your website.