t3-oss / t3-env

https://env.t3.gg
MIT License
2.78k stars 86 forks source link

Add Cloudflare Pages to presets #263

Closed venables closed 1 month ago

venables commented 2 months ago

Cloudflare Pages automatically adds 4 environment variables, as defined in their docs here.

To match the other presets, I set all the values as string().optional()

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
t3-env ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2024 0:26am
vercel[bot] commented 2 months ago

@venables is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

ptts commented 1 month ago

You could also add cloudflare-pages to the list of supported presets here: 🙂 https://github.com/t3-oss/t3-env/blob/main/docs/src/app/docs/customization/page.mdx?plain=1#L97

venables commented 1 month ago

@ptts Thanks for the pointer -- I've updated the docs too