how to use build-time secrets with Astro
hey folks I'm building an Astro site that relies on a build-time secret, assuming for prerendering but it's really only needed for runtime. I've defined this var in my env schema, but I'm encountering a build error with this var defined in my settings
I've got this defined in my astro config
1 Reply
weirdly enough the stack trace points at
validatePublicVariables
from astro but this isn't a public env var but builds locally fine with this in a .env.local
file :thinkies:
this was previously a static site though, could that be an issue?