Publishing

  1. Now you can run the pipeline in debug mode. After running, we will publish the pipeline. However, before we can publish the pipeline, we should merge the code from development branch to the master branch and, optionally, delete the development branch:

  1. Go to the GitHub account and raise a new pull request for merging the code from the development branch to the master branch. This is because the entire code of the pipelines, datasets, linked services, and ARM templates is in the development branch:

  1. After the pull request is raised, accept the pull request and merge the code from the development branch to the master branch:

  1. Back in the Data Factory designer, select the master branch from the top menu and publish the code:

  1. Click on the resultant blade:

  1. Finally, the GitHub repository should look as in the following screenshot:

  1. Trigger the pipeline by clicking on the Trigger Now button from the top menu once the publishing is complete:

Triggering a data factory will push the code to the repository, generate the ARM templates, and execute the pipeline.