R
Railway10mo ago
Emilio

Waiting for deployment when running `railway up` in CI

Hi all! I am trying to set up a CI system to deploy a project on Railway, and got everything working up to the deployment phase. I have however noticed that in non-interactive environments like GitHub Actions, the up command exits after the upload has completed. Ideally I'd like for it to wait until the project is actually deployed (maybe even after it passes the health check?) and fail if anything goes wrong. I have looked at the documentation for the CLI but I could not find a way to do so. Does anyone know how to do this / is already doing it? Thanks.
5 Replies
Percy
Percy10mo ago
Project ID: N/A
Emilio
Emilio10mo ago
N/A
Brody
Brody10mo ago
theres an open issue on the cli for this exact feature! https://github.com/railwayapp/cli/issues/468
Eminem
Eminem10mo ago
root
Emilio
Emilio10mo ago
Thanks Brody, totally missed that. I have now subscribed to the issue and left my +1, let's hope this get picked up.
Want results from more Discord servers?
Add your server