2 years ago
<@358313783862624259> been trying to follow you setup instructions ci deployments to railway. Everything seem to be working fine, except the railway-trigger.sh file
It manages to install railway but fails to execute at line 11 $RAILWAY_BINARY version
https://github.com/IgnisDa/npm-libs/blob/main/deployment/railway-trigger.sh#L11
Do you know what it could be?
Thanks
17 Replies
take a look at https://raw.githubusercontent.com/railwayapp/cli/master/install.sh, the help text tells you which flags it needs. just update them
Hmm.. you will have to spell it out for me haha. Not sure what needs to be done
@Brody Hi. I see you’re quite active in the space. Sorry for bothering but do you know by any chance what needs to be done here?
2 years ago
I mean the repo has been archived, so I'd say no, it's not recommended, I'm not even sure what it achieves?
Allows you to publish deploy a nx repo to railway via GitHub ci. I mean the script looks promising and it will definitely help speed things up deploying btn environments if it works
2 years ago
I wasn't aware you need a script to deploy an nx monorepo on railway, why not just add the GitHub repo to your service source?
2 years ago
yes of course, you can choose the branch to deploy from in your service settings
That’s excellent and will do that but I also do like the idea of deploying via actions
2 years ago
add a health check to your service and railway don't push that deploy out until the health check succeeded, and you get status updates from railways GitHub bot in your GitHub repo anyway!