Watch paths for automatic deployments

Choose which files in the repository trigger a deploy, independently of the build root.

  • Apps

Read as Markdown ↗

A push to a monorepo no longer has to redeploy every service. Set Watch paths when you create a service or in its Source settings, and only pushes that change a matching file trigger an automatic deploy.

apps/api/**
packages/shared/**

Patterns are relative to the repository root and support *, ** and ?, including hidden files. They replace the root-directory filter, so a service built from apps/api can also redeploy when a shared package changes. Leave the list empty to keep the current behavior.

When GitHub sends an incomplete or forced push, the service deploys to be safe. Manual deploys, deploy hooks and PR previews ignore watch paths. Environment copies and project manifests keep them.

See Watch paths in the Git deployment docs.

← All releases