[help want] Deploying multiple projects to the same repository

How can I trigger the deployment of a vercel project only when code changes are made in a subdirectory?

It doesn’t matter which subdirectory I submit code to, all my subdirectories will be deployed, and I’ve already set up the settings to skip the deployment of non-root file changes (the root directory is set as a subdirectory). How do I fix this?

go, php, TypeScript

Hey @jiejaitt! The skip deployments option will only skip if there are not changes to the directory or dependencies. So it’ll still deploy if one of the dependencies is updated.

I recommend checking the list of requirements to skip automatic deployments and making any modifications needed to satisfy those requirements. As an alternative, you could try the Ignored Build Step feature for more customized control.

Please give it a try and let me know how it goes!

@amyegan I’m glad you answered my question, but this didn’t work. when i try the Ignored Build Step feature, it tell me:

Hey @jiejaitt, the Ignored Build Step runs in the same folder your selected “Root Directory”. Can you please verify if service-blog-spencerwoo-com is inside the root directory you have selected? You can refer to this guide for more information - How do I use the "Ignored Build Step" field on Vercel?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.