I'm analysing the Azure Deployment Slots functionality of Azure App Service to adopt zero downtime deployment strategy and i'm curious if it's possible to define some custom steps to be performed during automatic swap operation. I need to execute series of powershell scripts. I could've run them in my Azure DevOps deployment pipeline after ensuring that swap was successfull, but in this case i will loose benefit of swap back in case of any unpredictible failure and will need to execute that scripts manually.
My question is - is there any way to customize swap operation by adding some steps by myself?
Thanks in advance!