Deploy metadata from GitHub repository
Learn how to deploy a template using the Deployment Manager in Zuora, including navigating the interface, initiating a deployment, and uploading templates from a repository.
- Navigate to Deployment Manager on the left navigation menu in the Zuora Tenant.
- Click the +New icon to initiate a deployment.
- Select Upload Template .
- In the Type dropdown, select the upload from repository option and enter the following details:
Parameter Value Type Upload the template from the repository or upload from local. Select Token Key The Unique identifier provided at the time of mapping Deployment Manager to GitHub. Select repository and branch Each repository in GitHub is tagged to a branch, select the applicable branch File path File path is copied from the GitHub repo. It is the path of the json file that is stored repo>file name>click on copy path Commit Message A brief description should be given for maintaining a record in GitHub, this can be the user story no or any description that will assist in tagging the file versioning and changes To copy the file path, navigate to the file in the repository, select the file name, and click Copy path. For example, consider the file example.py located under the sample-repo repository in the main branch.
- Navigate to https://github.com/username/sample-repo.
- Find and click on the src directory.
- Click on example.py to open the file.
- The breadcrumb navigation will show: sample-repo / src / example.py.
- The full file path URL will be: https://github.com/username/sample-r...src/example.py. You can now copy this URL and use it as the file path. If you want to copy the relative path within the repository, you can use the breadcrumb path directly: src/example.py.
The Retrieve button will automatically upload the template from the repository.