Deployment slots and swapping

Robert Morgan 6 Reputation points
2020-07-08T11:19:44.27+00:00

Hi all,

So this is my first time setting up deployment slots and my first time setting up any kind of CI/CD - I'm pleased to say Azure made it nice and easy!

However, I'm just trying to understand the workflow here.

I've set it up so it auto-deploys the latest git push to the staging slot.

I then test on staging and swap over to production when I'm ready.

However, what was on production (old code) then goes over to staging.

So I then have to sync the staging slot to bring it up to date again (which feels like a redundant step?)

Am I doing this right?

Seems it would make more sense just to be able to push staging to production rather than "swap" them.

Am I missing something here?

Thanks,

Rob

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Robert Morgan 6 Reputation points
    2020-07-08T11:21:27.673+00:00
    0 comments No comments

  2. SnehaAgrawal-MSFT 21,766 Reputation points
    2020-07-08T15:54:20.45+00:00

    @RobertMorgan-0963 Thanks for asking question! Yes, you are correct, Also the best way to share your feedback would be to Upvote it. The product group monitors this site for feedback. This is the best way to ensure you are heard and you may receive a response depending on how much they information they can currently share.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.