2 years ago
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:
[build]
builder = "nixpacks"
buildCommand = "echo building!"
[deploy]
startCommand = "echo starting!"
healthcheckPath = "/"
healthcheckTimeout = 100
restartPolicyType = "never"43 Replies
2 years ago
perhaps you have set an incorrect location for it in your service settings?
2 years ago
try removing that
2 years ago
your service was unavailable
2 years ago
what kind of app?
2 years ago
what do the deployment logs show?
2 years ago
should there be more logs? or is that normal for your app?
2 years ago
I mean, isn't it working? It echo'ed your start command which is "echo starting!"
2 years ago
what is your start command?
2 years ago
Where did you define that? Only in the package.json?
2 years ago
remove the startCommand from the railway.toml
2 years ago
what do your deployment logs look like now
2 years ago
those are your build logs
2 years ago
remove the health check from the railway.toml
the toml will look like this
[build]
builder = "nixpacks"
buildCommand = "echo building!"
[deploy]
restartPolicyType = "never"`
2 years ago
yeah, just remove that buildCommand but seems good to me
2 years ago
Time for my marketing
2 years ago
@Luiz Bello Do you mind upvoting this community suggestion ? Bora trazer o Railway pro Brasil 😉
2 years ago
Só logar e clicar na setinha de upvote








