git - VSTS - continuous deployment to two separate Azure web apps from one repository -


so i'm using visual studio, git, , visual studio team services. i've got "test" site running azure web app , continuous deployment set up. push local pc vsts, updates test app. far good.

main question: can set continuous deployment second web app, "real" or "live" site on different domain, linking same vsts repository? possible link 2 azure web apps 1 vsts repository?

the workflow i'm thinking of using disable continuous deployment live app, push change, update test app, make sure it's working, , re-enable continuous deployment live app , push trivial change, update both, or pull in latest repository live app if it's possible that. strategy? i've never deployed before , welcome , advice.

yes, better way using 2 branches of repository.

  1. create new branch in repository (e.g. test, there test , master branches now)

  2. configure continuous deployment each app service use corresponding branch of repository

if using azure cd:

enter image description here

if using build , release, can create 2 build definitions , 2 release definitions test , live site. (a build branch , release link build , deploy site)

enter image description here


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -