Reputation: 1285
I have created a staging slot (which has different url than dev app service) for our dev environment.
Than I have enabled Auto Swap Slot feature for staging app service/slot in Application settings as:
The same settings is not enabled for Dev App Service.
Then in VSTS I have added deploy azure app service task with Swap feature enabled . This will deploy new version to slot:
Then I have added a swap slot task which will swap Stage with DEV/PROD:
But after deployment when i access DEV site url still I see old changes and not published one.
What configuration i am missing here?
Upvotes: 0
Views: 396
Reputation: 20097
As junnas said, turn off the auto-swap and only slot swap manually then the above steps you provided are all right.
The staging and production slots will then be swapped over, leaving the old production version in the staging app and the latest version in the production slot.This flow supports the actual slot swaps being automated, but with manual approval.
For more details, you could refer to this article.
Upvotes: 1