Any way to trigger Travis CI build on a delete branch github webhook?

Hi - I’m using Travis to build from a GitHub repo and deploy to a PaaS, so when a branch is pushed to github, Travis builds it and pushes that build to the PaaS.

When the branch is merged into my main branch at GitHub, the branch is deleted from GitHub.

I’d love to delete the branch at the PaaS at the same time. If Travis could be triggered by the delete action (there is a delete webhook from github), I could do this.

Is there any way to trigger a Travis build on branch deletion?