Next.js Discord

Discord Forum

Vercel building all apps on push to turborepo

Unanswered
Cesky Terrier posted this in #help-forum
Open in Discord
Cesky TerrierOP
Hi! I'm quite new to vercel and turborepo so if I'm misunderstanding something fundamental please forgive me. We have a turborepo that has a nextjs and an astro site. Once we push one, it builds both on vercel, as in it's triggering the build on both. I can see that the build command is cd ../.. && turbo rub build --filter={/apps/whatever}, but I guesss I'm trying to figure out what's triggering the build. It's getting deployed from GitHub, and I'd just like to have it somehow be "smart" enough to only build and deploy if there's been changes to said site within the turborepo. Any advice?

3 Replies

Cesky TerrierOP
Oh wait, this is the Next Discord and not a Vercel one 😅
Giant panda
Indeed.
Cesky TerrierOP
Yeah apologies, closing this