From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deploy to staging

Deploy to staging - Azure Tutorial

From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Start my 1-month free trial

Deploy to staging

- [Instructor] Let's make this Azure pipeline multistage and do a deployment with infrastructure as code. First thing we need is our arm template. Now I have in Visual Studio, the actual template that I want to use. It's in my project for my web deploy, it's called; Web App with Slots for Windows. We could use the Linux one if we had done that in Core, but we're doing a full .net application. And so you want to make sure that you have committed the changes up into your repository. Now I've already done that, and so when I go out, I can take a look at my pipeline. What I want to do is edit it and add the staging capabilities. Currently it's running everything just as a single stage, which means I can omit the stages and jobs syntax and everything is just the steps that go through for running my deployment, my build and deployment. What we'll do is we'll go up here and I'm going to add a stages section of this. We'll do this…

Contents