How to add Approval before Slot Swap task in Release pipeline on Azure DevOps

Viewed 625

enter image description here

Hi!

I am using deployment slots to deploy my function app first on staging and then on production. I have the above two tasks in my release pipeline. After the function is deployed on the staging slot, I want to hold the swap task until someone (a user) verifies the deployment.

So, how can we add user approval before the slot swap task?

Thank you

2 Answers

You can also try to split two tasks into two stages, and then set Pre-deployment approvals for the stage where slot swap task is located.

enter image description here

Related