Detecting the Swap Status of an Azure App Service Slot with Auto-Swap Enabled
We recently built an Azure DevOps pipeline which deploys code to a staging slot. This slot has auto-swap enabled to push the app into production automatically after a successul health probe check. However, the issue we ran into, was how to fail the pipeline, when that auto-swap failed — because, frustratingly, it often fails silently, or [...]