I'm managing a Turborepo that includes three separate Vite websites located at apps/web1, apps/web2, and apps/web3. I'm trying to figure out the best CI/CD setup for this. Should I go with a single pipeline that only triggers deployments for updated apps, or would it be wiser to create individual pipelines for each app? For instance, if I make changes to web1, it should only deploy web1. What's considered the cleanest and most standard approach in the industry today?
1 Answer
You're on the right track! A lot of CI tools let you set up jobs that only run when specific files change. I recommend creating separate jobs for each app and configure them to trigger only when updates occur. This way, you won’t be deploying everything every time, just what's necessary.
Thanks for the insight! I understand the concept but I'm not sure how to implement it. Do you have any resources or docs that could help? Appreciate it!