How to deploy to multiple Azure WebSites/Web Deploy targets with different publishing profiles.
We have a ASP.NET MVC application and currently we are manually deploying using different publishing profiles for each target in VS2015.
We're trying to setup AppVeyor so when we commit to the master branch the code is deployed to different WebDeploy targets but each with its own Configuration.
So for example.
Configuration: DEV -> deploy to -> Azure Website DEV (using WebDeploy)
Configuration: STA -> deploy to -> Azure Website STA (using WebDeploy)
Configuration: PROD -> deploy to -> Azure Website PROD (using WebDeploy)
How can this be achieved?
Thanks
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 02 Dec, 2015 12:57 AM
You can setup three deployments with conditions:
2 Posted by e.parizzi on 02 Dec, 2015 05:11 AM
Thank you Feodor, but I wasn't clear enough.
Publishing to the 3 environments at once is not desirable. What I need is to deploy is some kind of "deployment chain" where I push changes to master and they automatically deploy to the DEV environment.
Then, after some manual testing that everything went smooth I want to manually start the deployment to the STA env. Again, if all went smooth, I want to be able to manually push to PROD (which consists of several environment, one for each client).
I hope I made myself clear now.
Thanks again
Support Staff 3 Posted by Feodor Fitsner on 02 Dec, 2015 05:50 AM
You can setup three "WebDeploy" environments then and publish from there.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.