I would like to use one of the default system environment variables (RENDER_{X}) and map it to an internal one to my app. So something similar to this:
envVars:
- key: APP_RELEASE
value: $RENDER_GIT_COMMIT
Is this possible?
I would like to use one of the default system environment variables (RENDER_{X}) and map it to an internal one to my app. So something similar to this:
envVars:
- key: APP_RELEASE
value: $RENDER_GIT_COMMIT
Is this possible?
I’m not sure that possible to accomplish via the render.yaml - what you should be able to do though is use export
in your build and start commands/scripts to make the variable available,
export APP_RELEASE=$RENDER_GIT_COMMIT
type thing,
Regards,
John B
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.