Deployment fails unless env variable is a secret

Other variables do not have that issue, secret or not. Or perhaps they do and I haven't yet encountered that problem. Other variables have the same problem. Just confirmed. I tried adding the variable to wrangler.toml but to no avail. Screenshots show that it's there in the settings but the build fails nonetheless. Strange.
No description
No description
2 Replies
Cyb3r-Jak3
Cyb3r-Jak32mo ago
It looks like you are using vite, can you try prefixing them with VITE_
azizthewhiz
azizthewhiz2mo ago
that didn't work. but once I encrypted the new VITE_SUPABASE_URL the build passes again. afaik Astro (which I use) doesn't require VITE_ prefixes in env variables but I tried it anyway
Want results from more Discord servers?
Add your server