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

litcodeur
PRO

a year ago

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`

and the github action completes.

Happy to share more context if needed

0 Replies

litcodeur
PRO

a year ago

N/A


a year 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


litcodeur
PRO

a year ago

Thanks! Good to know, any eta on when that might be?


a year ago

Sorry i dont have an ETA


litcodeur
PRO

a year ago

Okay thanks!