Railway isn't uploading my code properly.
zoetaurus
HOBBYOP

7 months ago

I was fixing a problem with code but it was still not working and I thought it was my problem but I wanted to test to make sure it wasn't an upload problem.

I coded green banners to pop up the moment I opened the app I was coding but when I uploaded it on, I didn't see them when I opened my app.

However, every time I tried, railway said that the upload was successful so It is not that.

Solved$10 Bounty

Pinned Solution

shxkm
PRO

7 months ago

but the issue is likely that Railway is deploying from the wrong branch - I'm working on the working-version branch, but Railway might be configured to deploy from master or main instead.

You can change which branch you want Railway to look at. See attached image.

Attachments

5 Replies


shxkm
PRO

7 months ago

  • What is your stack? which kind of app is that?

  • If building assets is required, did you make sure it's built as part of the Railway deployment?

  • Are you sure the changes are on the same branch that Railway is set to look at?

  • Do you have any watch paths configured?

  • Is the new deployment considered healthy?


shxkm

What is your stack? which kind of app is that?If building assets is required, did you make sure it's built as part of the Railway deployment?Are you sure the changes are on the same branch that Railway is set to look at?Do you have any watch paths configured?Is the new deployment considered healthy?

zoetaurus
HOBBYOP

7 months ago

My app is a full-stack web application built with React + TypeScript frontend, Node.js + Express backend, and deployed on Railway with Caddy web server. The build process is definitely running during Railway deployment (I can see "npm run build" completing successfully in the logs), but the issue is likely that Railway is deploying from the wrong branch - I'm working on the working-version branch, but Railway might be configured to deploy from master or main instead. There are no special watch paths configured, and the deployments are completing successfully and considered healthy (I see "Deploy complete" and "Starting Container" in the logs).


shxkm
PRO

7 months ago

but the issue is likely that Railway is deploying from the wrong branch - I'm working on the working-version branch, but Railway might be configured to deploy from master or main instead.

You can change which branch you want Railway to look at. See attached image.

Attachments


shxkm

but the issue is likely that Railway is deploying from the wrong branch - I'm working on the working-version branch, but Railway might be configured to deploy from master or main instead.You can change which branch you want Railway to look at. See attached image.

zoetaurus
HOBBYOP

7 months ago

Thanks so much!


Status changed to Solved uxuz 7 months ago


Loading...