BobCat62
Databricks Partner

Hello @ashraf1395 ,

Nice to hear you and thank you for your hints.

Actually with your idea, I could reach half of my aim 😊

you can see here the folder structure in my VS code:

BobCat62_0-1743023725878.png

and here is part of my `databrick.yml` file:

targets:
  dev:
    # The default target uses 'mode: development' to create a development copy.
    # - Deployed resources get prefixed with '[dev my_user_name]'
    # - Any job schedules and triggers are paused by default.
    mode: production
    #default: true
    workspace:
      root_path: /Workspace/Shared/.bundle/${bundle.name}/${bundle.target}
      file_path: /Workspace/
    sync:
      paths:
        - .src/emob1/*.ipynb
      exclude:
        - databricks/fixtures
        - databricks/resources
        - databricks/fixtures
        - databricks/.vscode  
        - databricks/src/.gitignor
        - databricks/src/README.md

If I deploy with this yml, I get this error:

Error: stat .src/emob1/*.ipynb: no such file or directory

 

I I remove this part:

 paths:
        - .src/emob1/*.ipynb
I can deploy successfully, but the result is not I want:
BobCat62_1-1743024066327.png

 I would like to have emob1 and emob2 directly under Workspace, and not under Databricks/src

 

Do you have any Idea?

Thanks