GitHub Actions makes it easy to build, test, and deploy your code right from GitHub.
However, if you would like to use your GH Action workflows just for CI and for CD, continue to use your favorite Azure Pipelines with all the best-in-class features needed to enable compliant, safe deployments to their prod Environments, it is quite possible with this azure/pipelines action.
With this action, you could trigger an Azure pipeline run right from inside an Action workflow.
The definition of this Github Action is in action.yml.
Use this action to trigger a specific pipeline (YAML or Classic Release Pipeline) in an Azure DevOps organization. Action takes Project URL, pipeline name and a Personal Access Token (PAT) for your DevOps account.
- uses: Azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.