ashraf1395
Honored Contributor

Hi @BobCat62 , I made a small typo it would be ./src/emob1/*.ipynb or you can just keep it ./src/emob1/

If you databricks.yml file is outside the databricks folder the path will be
./databricks/src/emob1/
and with file_path: /Workspace/  set to this. Your target file will be added at the correct place only drawback databricks syncs the local path dynamically wrt databricks.yml file

So your databricks.yml file is outside of databricks repo i.e. in parallel with it your databricks workspace structure will look like this 
/Workspace/databricks/src/emob1/
but if you want emob1 directly I don't see any way we can change the path of bundle root location.

ashraf1395_0-1743054766106.png

 

If it is not mandatory to keep the emob1 and 2 files inside databricks/src you can keep them in parallel with your databricks.yml
Whick wont be a good practice I guess.

If you can find a way to change the bundle root location using an environment variable etc (though I don't find something like this anywhere )you work can be done or for quick workaround you can keep your emob files in parallel with databricks.yml file

View solution in original post