Patrick M
CDCloudflare Developers
•Created by Patrick M on 5/7/2024 in #pages-help
Example of setting up staging and production environments
I’m trying to set up separate staging and production environments for my Pages app, does anyone have examples of how they did it?
I’m not sure whether I should contain everything in one “app” in the CF dashboard with a dedicated staging branch, or have a totally separate “app” for staging.
It seems like 1 app would be easier for maintenance, however the env settings for the preview branches and staging will have to be exactly the same. Alternatively 2 apps would make it easier to manually promote certain versions to staging, and also let me test preview branches connected to either the staging and production databases as needed.
3 replies