tag:help.appveyor.com,2012-11-13:/discussions/questions/17245-how-to-deploy-build-artefacts-to-a-group-of-environmentsAppVeyor: Discussion 2018-08-25T02:26:36Ztag:help.appveyor.com,2012-11-13:Comment/446282082018-01-30T15:29:53Z2018-01-30T15:29:53ZHow to deploy build artefacts to a group of environments?<div><p>Are you still going to deploy from build or this should be decoupled from build process?</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/446282082018-01-30T15:35:59Z2018-01-30T15:36:01ZHow to deploy build artefacts to a group of environments?<div><p>The ideal process would be that every build (triggered by commit) automatically releases into our DEV environments (as it does today), but that we additionally have the ability to selectively deploy the artifacts from any given build into our staging environments.</p>
<p>This second deployment should be decoupled from the build process. We basically want to deploy the same binaries in all environments.</p></div>Øyvindtag:help.appveyor.com,2012-11-13:Comment/446282082018-01-30T16:06:09Z2018-01-30T16:06:09ZHow to deploy build artefacts to a group of environments?<div><p>Then I would look into <a href="https://www.appveyor.com/blog/2015/11/04/deployment-projects/">deployment project</a>. This require a little bit of work to tune it, but after that it can be started with UI. The only thing you might need to alter is <code>deploy_version</code> if you do not want to deploy most recent build.</p>
<p>Also if you decide to go this path, you may consider to stop using <strong>Environment</strong> deployment, but use <strong>Inline</strong> deployment with both regular and new, "deployment" projects. Benefit is that <strong>Inline</strong> deployments run synchronously and if they fail -- build fail. <a href="https://www.appveyor.com/docs/deployment/#overview">More details</a>.</p>
<p>Side note: as I understand you use Azure App Service. Look at new <a href="https://www.appveyor.com/docs/deployment/azure-app-service-zip-push-deploy/">Zip Push Deploy</a> when you have time.</p></div>Ilya Finkelshteyn