Populate Railway git information from CLI deploy
tcmryan
HOBBYOP

a month ago

Loving Railway so far. I do have a feature request though. I would love it if the CLI deploy would make a best effort to populate the RAILWAY_GIT* variables when deploying.

My current workflow is that I use the git integration for CD into the dev environment and I only deploy tagged releases via Github workflows to production.

I have an application that track releases and maps them to my Jira tickets and shows me the deploy history for my environments.

Right now I end up setting a COMMIT_HASH environment variable before the deploy and then using the Railway API to retrieve that environment variable when I dont recieve any git information in the webhook payload. This means I have to de-dupe the deployments and make extra api calls. It would be really nice to have a consistent webhook payload that is populated with the versioning information consistently.

Thanks for the consideration and keep up the good work.

Under Review

0 Threads mention this feature

0 Replies

Loading...