Created
September 3, 2020 11:27
-
-
Save synesthesia/0bc37702968ec3752693f7b5ada3500f to your computer and use it in GitHub Desktop.
Trigger Antora site Azure DevOps pipeline from GitHub action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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