IS_PULL_REQUEST variable in previews
complete
J
Jonas Strassel
I think thats currently just not documented, but as I see it "IS_PULL_REQUEST" is true in preview environments as well as pull request previews. which is nice, but missing in the docs.
Log In

Anurag Goel
updated the status to
complete
All usable env vars are now documented at https://render.com/docs/environment-variables
H
Hampton Catlin
Agreed, there is a lot of stuff in ENV variables that are really useful... I've mostly just been opening up the shell and typing
printenv | grep whatever
to see if I can find useful things.