Migrating from Amplify to Cloudflare Pages

I'm migrating my frontends from Amplify to Cloudflare Pages. Under Amplify, there's a way to easily connect domain -> branch that is being deployed. For example:

staging.site.com -> develop
site.com -> master

How do I do the same in Cloudflare Pages?
Was this page helpful?