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
Project ID:
N/A
N/A
theres an open issue on the cli for this exact feature! https://github.com/railwayapp/cli/issues/468
root
Thanks Brody, totally missed that. I have now subscribed to the issue and left my +1, let's hope this get picked up.