Prevent redeploy of unchanged services when using monorepo
When using Monorepos. Is there a way to prevent a service from getting redeployed via GitHub hooks if none of the files involved in building it have changed?
6 Replies
Project ID:
N/A
are you using a github action for this or the built in deploy option?
Currently I am using the built-in autodeploy
someone else might know but i have a feeling you may need to switch over to using github actions for this so you can then add a step that prevents it deploying as you said.
Solution
this is exactly what watch paths are for!
https://docs.railway.app/deploy/builds#watch-paths
awesome!