Reputation: 41
So unfortunately we haven't upgraded from Azure Cloud Service to App Service yet. But I'm wondering how to automatically swap the Staging slot to Production slot with a Release Task.
The automated Release sequence is something like: 1) deploy to staging, 2) manual confirmation to swap staging to production slot, and 3) (after manual confirmation received) swap slots and delete staging instance.
Upvotes: 0
Views: 519
Reputation: 41
Yes so the script from here works to swap Staging and Production slots:
https://gallery.technet.microsoft.com/scriptcenter/Swap-the-Deployments-f588a811
However, I had to set the Azure Powershell task to use an older version and classic resources.
Screen shots:
Upvotes: 1