Railway Deployment ID as a Environment Variable

5 months ago

Is there any way to access Railway’s current deployment ID from within the code?

Maybe via an environment variable?

I can see service ID and related values, but not the deployment ID.

1 Replies

5 months ago

You can read it in code from RAILWAY_DEPLOYMENT_ID


Welcome!

Sign in to your Railway account to join the conversation.

Loading...