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.
create new branch in repository (e.g. test, there test , master branches now)
configure continuous deployment each app service use corresponding branch of repository
if using azure cd:
if using build , release, can create 2 build definitions , 2 release definitions test , live site. (a build branch , release link build , deploy site)
Comments
Post a Comment