How can I trigger a job to be run when a branch gets deleted?
There is no way to do this from within CircleCI. You could set up a lambda job or something though to do this via the API.
So something like this might work:
- Send Webhook from GitHub to Lambda when branch gets deleted
- Trigger build via the API from Lambda
Thanks for your answer. Is this planned? F.e. Gitlab CI can do with a so-called stop job: https://docs.gitlab.com/ce/ci/environments.html#stopping-an-environment
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.