Perform a Swap to move it into Production with zero downtime. Example (YAML): - task: AzureWebApp@1 inputs:?
zureSubscription: 'MyServiceConnection'
ppName: 'my-webapp'
deployToSlotOrASE: true
resourceGroupName: 'my-rg'
slotName: 'staging'
Then use:
- task: AzureAppServiceManage@0
inputs:
ction: '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: