6 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.
Pinned Solution
6 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
6 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Failed to upload code with status code 403 Forbidden with CLI
🧵 railway up suddenly started failing with -> Failed to upload code with status code 403 Forbidden
If you find the answer from one of these, please let us know by solving the thread!
6 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?
6 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).
6 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.
6 months ago
Thanks so much!
Status changed to Solved uxuz • 6 months ago

