a year ago
Is it possible to pick and deploy a specific commit for commit history, or by providing sha?
9 Replies
a year ago
yes indeed it is, but it has to be done via the API, if you are interested in that I can get you the gql mutation
Would be nice to have an UI for that actually I miss it from render, example use case would be when SMTH is broken and I wanna rollback to some old commit, I can't see it in railway deploy history
a year ago
I can give you a curl command for it?
a year ago
it would be a super niche feature so it's unlikely to be added in favor of avoiding UI clutter.
a year ago
let me know if you want that curl command!
3 months ago
As a matter of fact, it ISN'T a super niche feature but a necessary and basic feature. Specifically for the cases when there is "orchestration error" from railway and new commits are made but they are not reflected on railway UI. So, unless we unnecessarily make a new commit, we won't be able to deploy the latest version of our app.
I got on this thread looking for a solution for this exact problem.
3 months ago
Railway does have a feature for this specific issue - ctrl + k > Deploy Latest Commit while selecting a service will deploy the service's connected repo's latest commit.