Can't deploy via GitHub Actions
I can't deploy via github actions, I'm trying to deploy but it keeps giving the error:
config file railway.toml does not exist
but I have the .toml file in the repository
railway.toml:
30 Replies
Project ID:
69409740-c382-4712-8ce7-4a2e4f9d0aa0
69409740-c382-4712-8ce7-4a2e4f9d0aa0
perhaps you have set an incorrect location for it in your service settings?
I put it like this in the settings, the file is in the root folder
try removing that
and now the manual deploy is not working either
your service was unavailable
what kind of app?
node
what do the deployment logs show?
only this
should there be more logs? or is that normal for your app?
it's my first app in railway, but i think should have more logs
the deployment failed
but the only error logs were in the build
i try again , same error
I didn't touch that part
I mean, isn't it working? It echo'ed your start command which is "echo starting!"
what is your start command?
npm start or nest start
Where did you define that? Only in the package.json?
yes
remove the startCommand from the railway.toml
I tested this now and the same error remains
what do your deployment logs look like now
those are your build logs
ops
but
remove the health check from the railway.toml
the toml will look like this
`
is correct?
Solution
yeah, just remove that buildCommand but seems good to me
ok, it's working
Thanks to both of you for your help
Time for my marketing
@Luiz Bello Do you mind upvoting this community suggestion ? Bora trazer o Railway pro Brasil 😉
opa, é brasileiro? o que preciso fazer ali?
Só logar e clicar na setinha de upvote
Feito! 🤟