Emilio
Emilio
RRailway
Created by Emilio on 1/10/2024 in #✋|help
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.
6 replies