Root directory does not restrict builds for pages

Hello! I have a monorepo with several pages sites in it. However, setting the root directory for each deployment is not restricting deployment. As a result, every push builds every site. Is this expected? Documentation suggests that the builds should only fire if the given "root directory" / subdirectory has changes between builds. I am using the GitHub integration if that is relevant information Any explanation would be greatly appreciated!
No description
1 Reply
cole
coleOP2w ago
I found it! Build watch paths! What a brilliant solution! This works out particularly well for shared dependencies and whatnot in other peer directories! https://developers.cloudflare.com/workers/ci-cd/builds/build-watch-paths/
Cloudflare Docs
Build watch paths · Cloudflare Workers docs
Reduce compute for your monorepo by specifying paths for Workers Builds to skip
From An unknown user
From An unknown user

Did you find this page helpful?