How to map preview URLs to all non production branch git push in worker?

I am trying to deploy to *-chefs-page.shafu.workers.dev when ever there is a git push to any branch other than main branch, how to do this?
Screenshot_2025-02-11_at_4.46.10_PM.png
Was this page helpful?