unr
unr
CDCloudflare Developers
Created by unr on 1/4/2024 in #pages-help
Can we have different Preview ENV Variables, for different branches?
We have several different staging/test environments we use to test various work across teams. With Vercel we were using designated deploy branches, that had their own domain & env vars setup. We would have branches like env/dev-1 that deployed to dev-1.test.com with all the correct ENV vars for that environment. I havent' seen a way to have deploys (GH Actions, wrangler) that have different env vars. Is there any way we can handle these? We expect our Preview deploys to be able to point to several different environments.
5 replies