Railway Deployment ID as a Environment Variable

3 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

3 months ago

You can read it in code from RAILWAY_DEPLOYMENT_ID


Loading...