github-actions/pipelines/README.md

728 B

GitHub Action for triggering Azure YAML Pipelines

Usage


action "Trigger Azure Pipelines" {
  uses = "Azure/github-actions/pipelines@master"
  env = {
		AZURE_DEVOPS_URL = "<Azure DevOps URL>"
		AZURE_DEVOPS_PROJECT = "<Azure DevOps Project Name>"
		AZURE_PIPELINE_NAME= "<Azure Pipeline Name>"
	}
  secrets = ["AZURE_DEVOPS_TOKEN"]
}

Secrets

  • AZURE_DEVOPS_TOKENMandatory

Environment variables

  • AZURE_DEVOPS_URLMandatory; the fully-qualified URL to the Azure DevOps organization (eg, https://dev.azure.com/organization or https://server.example.com:8080/tfs/DefaultCollection)
  • AZURE_DEVOPS_PROJECTMandatory
  • AZURE_PIPELINE_NAMEMandatory