unr
CDCloudflare Developers
•Created by unr on 1/4/2024 in #pages-help
Can we have different Preview ENV Variables, for different branches?
I actually realized with GH Actions we can build our unique .env first, then push it up already built to CF Pages.
This should work for now, as we're not building directly on CF
5 replies
CDCloudflare Developers
•Created by unr on 1/4/2024 in #pages-help
Can we have different Preview ENV Variables, for different branches?
Our current strategy is going to be creating individual "page apps" for each environment, so they have dedicated env vars.
Unless there is a better suggestion
5 replies
CDCloudflare Developers
•Created by unr on 1/4/2024 in #pages-help
Can we have different Preview ENV Variables, for different branches?
Yeah, that's what it appears currently. We tried overwriting them dynamically with GH Actions but that didn't seem to work either.
5 replies