Three sites for one repo, one branch

Hi - below is setup I want for my site. By looking at Cloudflare pages configuration, I can only add one site per repo, and only one deployment per branch so I assume below is not possible today. Can someone confirm or tell me workaround?

I want to have three environment (different URLs)
dev: built based off of master. each commit in master triggers CD
sandbox: built based off of master, and we pick one SHA via daily script
production: built based off of master, and we pick one SHA via deploy script

What you are looking to do will not work. Pages only has one production deployment per project. Your best bet would be creating separate branches called dev and sandbox and have pages use those as preview deployments.

1 Like