Do not deploy all notebook to the given environment

maikel
Contributor III

Hello Community!

what is the best way to avoid deploying some notebooks from the asset bundle to higher environments?
Given I have following resources structure:

resources/
  ├── jobs/
  │   ├── notebook_a.yml
  │   ├── notebook_b.yml          ← dev only
  │   ├── notebook_c.yml          ← dev only
  │   ├── notebook_d.yml
 src/notebooks/
  ├── jobs/
  │   ├── notebook_a.py                      
  │   ├── notebook_b.py       ← dev only
  │   ├── notebook_c.py       ← dev only
  │   └── notebook_d.py

We have three envs: dev, pre-prod and prod.
I would like to avoid deplying notebooks b and c to pre-prod and prod. How to handle it nicely in databricks.yml file?

Thanks a lot!