I want to be able to create and deploy a web application when a feature branch is created from a linked Git repository in Azure Devops and then remove the site and files when the branch is closed.
Creating a new site is straightforward using calculated values to deploy to unique folders, but how would I start to trigger cleanup tasks when a feature branch is merged and closed no longer going to be used?