Variables not available in pages build?
The "Variables and Secrets" UI suggests we can edit "text, secret, or build variables." However, the only options in the UI are "text" and "secret."
I figured they would all just get shoved into the build... but my build has been failing on missing variables.
Am I missing something here? How do we set build variables on CloudFlare pages?

4 Replies
they do get set on the build
if you
printenv
it'll show them there@Walshy | Workers/Pages This worked perfectly for me with Cloudflare Pages, but with the new Cloudflare Workers Static Assets my variables are no longer accessible at build time. Is that intentional?
Are you making sure to set the build variables not normal env vars?
They're different in Workers
@Walshy | Workers/Pages I see. I made a post here to explain my use case in more detail: https://discord.com/channels/595317990191398933/1359464622188531753/1359464622188531753