Railway up failing with github actions
I'm using github actions to deploy to Railway using the cli
railway up
The action passes but the build fails on Railway with the error
I used the github actions tutorial https://blog.railway.app/p/github-actions and have a railway.toml file set in my root directoryRailway Blog
Using Github Actions with Railway
Github Actions come with a pretty neat set of features to automate your workflows. In this post, we talk about using Github Actions to automate your deployments on Railway.
13 Replies
Project ID:
d50bd4c1-5790-4da9-bb43-c17301a6395d
d50bd4c1-5790-4da9-bb43-c17301a6395d
Please post your repo
that error means that either nothing is getting
railway up
’d or your repo is configured in a way that isn’t compatible with nixpacksI'm able to deploy using Nixpacks when I connect my github to Railway.
your project is likely not configured correctly through the cli
@Brody you’re the cli guy what do you have to say
This is when using CI/CD with github actions though. In the docs it says to just provide
RAILWAY_TOKEN
and call railway command.I'll do some testing and get back to you
that blog is very old after all
Okay cool
this was the yml file i ended up with and it works fine
That's working for me now
thats awsome
i do wonder why adam pinged me though, he knows i dont like git stuff lol
you’re the cli guy and they use the cli
you have a point there