Skip to content

Instantly share code, notes, and snippets.

@synesthesia
Created September 3, 2020 11:27
Show Gist options
  • Save synesthesia/0bc37702968ec3752693f7b5ada3500f to your computer and use it in GitHub Desktop.
Save synesthesia/0bc37702968ec3752693f7b5ada3500f to your computer and use it in GitHub Desktop.
Trigger Antora site Azure DevOps pipeline from GitHub action
name: Trigger Azure Build for Staff Docs
on:
push:
branches:
- master
paths:
- 'staff/**'
jobs:
trigger-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/ORGNAME/PROJECTNAME'
azure-pipeline-name: 'PIPELINE_NAME'
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment