R
Railway8mo ago
Jay

Is there way to have Github Action fail if `railway up` fails

So I have a bit of a custom setup which requires me to use Github Actions to publish to railway, it's working good so far but I wanted to know if there is a way for me to have the Github Action fail if railway up command fails for some reason. Currently it just outputs
Indexing...
Uploading...
Build Logs: `url`
Indexing...
Uploading...
Build Logs: `url`
and the github action completes. Happy to share more context if needed
6 Replies
Percy
Percy8mo ago
Project ID: N/A
Jay
Jay8mo ago
N/A
Brody
Brody8mo ago
there's currently an open PR to enable this kind of behaviour but it lacks polish so it hasn't been merged yet, once done it will add a new flag that will wait until the deployment has either failed or succeeded and exit with the applicable code
Jay
Jay8mo ago
Thanks! Good to know, any eta on when that might be?
Brody
Brody8mo ago
Sorry i dont have an ETA
Jay
Jay8mo ago
Okay thanks!
Want results from more Discord servers?
Add your server