Templates for running CI/CD pipelines in Azure DevOps
- Add a service connection named
GitHub
to the Azure DevOps project. - Add a reference to the GitHub repository in your
yaml
fileresources: repositories: - repository: templates type: github name: dlw-digitalworkplace/azure-devops-templates ref: 'refs/heads/main' endpoint: GitHub
- Reference the template and pass the necessary parameters.
- template: <path_to_template>.yml@templates parameters: parameter_name: <parameter_value> ...
Pushes updated packages to the specified NPM repository.
- beachball must be added as a (dev)dependency in the project root.
- If pushing to a private repository, authentication must be performed before to calling this template.
- Change files should be present in the source.