Perform a Swap to move it into Production with zero downtime. Example (YAML): - task: AzureWebApp@1 inputs: Follow: azureSubscription: 'MyServiceConnection' appName: 'my-webapp' deployToSlotOrASE: true resourceGroupName: 'my-rg' slotName: 'staging' Then use: - task: AzureAppServiceManage@0 inputs: Action: 'Swap Slots' SourceSlot: 'staging' ResourceGroupName: 'my-rg' WebAppName: 'my-webapp' 7⃣ How do you perform rollback in case of a failed deployment?
There are several ways: