- task: bash@3 displayName: Deploy to Azure App Service inputs: targetType: inline script: | az webapp deploy \ --resource-group bg \ --name bgapp \ --slot stage \ --type zip \ --src-path '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip' - task: bash@3 displayName: Swap App Service Slots inputs: targetType: inline script: | az webapp deployment slot swap \ --slot stage \ --resource-group bg \ --name bgapp