GitHub can't auto build without the pages build environment

Hey there is an option to use my environment variable by defaults for all git pull requests into cloudflare pages? Now dependabot fails to update the code into cloudflare pages because I have an environment variable on my cloudflare pages project that specifies the node version.
2 Replies
i40west
i40west13mo ago
In your project's environment variable settings, there are two sets of settings, one for production and one for preview builds. The Dependabot PRs will build with the preview settings. So you have to specify your environment variables for both.
Erina Nakiri
Erina NakiriOP13mo ago
Ok I'll check it Thanks now production and preview are working. Can be closed 🔐
Want results from more Discord servers?
Add your server