My services don't trigger automatic build+deployment when pushing updates
thamza
HOBBYOP

2 years ago

Hello there 👋

I am working on a mono repo with a frontend and backend. The application is working great but when I push changes to main (the only branch there is and the one setup), nothing happens (I'm expecting the service to deploy the changes in the new commit). Also, I don't see any way to trigger a pull and deployment manually so I'm stuck with an app in initial version :D

Thank you very much!

8 Replies

brody
EMPLOYEE

2 years ago

Was the original service once deployed from a template?


thamza
HOBBYOP

2 years ago

Yes it was @brody 🎯

Thanks a lot for your fast reply btw 🙏


thamza
HOBBYOP

2 years ago

I created a new repository, pushed the app in it but services still don't pick up on the updates i push


brody
EMPLOYEE

2 years ago

Was that original service also once deployed from a template?


thamza
HOBBYOP

2 years ago

Yes, it was originally deployed from the following template: https://railway.app/template/QvfPwp
I wanted to add some changes to the frontend so I created a new github repository and pushed the frontend code with changes.
Do you think I should recreate the app services without using the template?


thamza
HOBBYOP

2 years ago

If you question was more: is the template I used also based on some other template? ==> I'm not sure :( I see that this is not the official Medusa template so maybe the guy making it also created it based on the official Medusa template.
The thing is, the official medusa template is not working properly


brody
EMPLOYEE

2 years ago

Apologies, this thread got a bit lost.

Theres a bug where deploying a template and swapping its source repo causes all commits to basically do nothing, You would need to create a new service in the same project manually, and then connect your repo to it.


thamza
HOBBYOP

2 years ago

Oh cool, i see that explain it. Will git it a shot.
Thanks a lotnfor the info


Loading...