#Turborepo in Railway

15 messages · Page 1 of 1 (latest)

fallen patrol
#

How can I avoid 2 of my services (frontend-app & backend-app) in one project from always building and deploying when I commit a change to my turbo repo in Github? I already use turbo build --filter <service-name> & npm run start --workspace=<service-name> in the respective settings of the services but they still build and deploy at the same time when I commit something.

plush vortexBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

flint onyxBOT
#

Project ID: f58a6a0a-fabc-4638-88a8-91f4ad9364fb

fallen patrol
onyx beacon
plush vortexBOT
#

Thank you for marking this question as solved!

Question Message ID

1113422905716518922

Solution Message ID

1113475878622597221

fallen patrol
#

Start command not deploy command my mistake

onyx beacon
#

you never want to commit your build folders, they should be in your .gitignore file, so watch the src folder

fallen patrol
#

Just used watch paths for src files it actually worked thanks!

onyx beacon
#

perfect! but you aren't committing your build folder, correct?

fallen patrol
#

cli*

onyx beacon
#

awesome, so all good?

fallen patrol