Deployment via Github no longer working - any idea why?
vintagedave
HOBBYOP

a year ago

Hello. I have this project configured to deploy automatically whenever the Github repo is updated. I just pushed a change to main, which is the deployment branch, and -- nothing!

On Github, it shows deployments, but from the previous merge.

On Railway, it shows the deployment from the same previous merge (40 hours ago.) It does not seem to be picking up that there's a new revision available. (I double-checked that it was on the right branch, it really is there.) When I try to redeploy it warns me it will use the same code, and sure enough it does - it doesn't seem to re-pull from github.

I would normally think this was my error, eg, I pushed to the wrong branch. But both my source control app and Github tell me it was pushed to main. I just can't seem to get Railway to recognise it.

Solved

5 Replies

Hey!

Looking at your service's source settings, it doesn't seem like the GitHub repository connected to it is still active? Was the repo deleted or name changed? Could you try re-connecting the GitHub repo and branch to the service?


Status changed to Awaiting User Response Railway about 1 year ago


ray-chen

Hey!Looking at your service's source settings, it doesn't seem like the GitHub repository connected to it is still active? Was the repo deleted or name changed? Could you try re-connecting the GitHub repo and branch to the service?

vintagedave
HOBBYOP

a year ago

Thanks! I decided that since it wasn't working, I could make some changes to the repo, and I needed to move it so did so. Sorry for the confusion, but I promise the Railway integration was broken before that.

I'll try just setting it up again from scratch using the moved repo.


Status changed to Awaiting Railway Response Railway about 1 year ago


brody
EMPLOYEE

a year ago

Looks like that repo is still not found, can you confirm it exists under that exact name?


Status changed to Awaiting User Response Railway about 1 year ago


vintagedave
HOBBYOP

a year ago

I can't, sorry. I saw that it wasn't working and took the opportunity to do some repo admin I needed to do, which was to transfer ownership to another Github org.

Unless your logs show what happened, I think I can't provide you the info you need. Sorry about that! Please close this.


Status changed to Awaiting Railway Response Railway about 1 year ago


brody
EMPLOYEE

a year ago

Glad you were able to solve this! will close this out.


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...