saurabh18cs
Honored Contributor III

Hi @IONA ,

you need to add a step into your CD pipeline to copy the notebook:

- checkout: self
- script: |
cp path/to/notebook_in_repo/notebook.py .bundle/notebook.py
displayName: 'Copy notebook into bundle'
- script: |
databricks bundle deploy
displayName: 'Deploy Databricks Bundle'

witin DAB yaml:

resources:
 jobs:
  my_job:
    tasks:
     - task_key: run_notebook
         notebook_task:
            notebook_path: ./notebook.py