Skip to content

Commit

Permalink
Use the amsterdam version for triggering ado pipeline
Browse files Browse the repository at this point in the history
To use the same action for all our projects.
  • Loading branch information
jjmurre committed Feb 27, 2024
1 parent dcfe6cd commit eaf78da
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/trigger-ado-publish-schemas.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: CI

# Run this workflow every time a commit is pushed to main
# The `workflow_dispatch` had been added to be able to run the
# workflow manually (for testing purposes).
on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
name: Trigger "Publish Schema" pipeline on Azure DevOps.
runs-on: ubuntu-latest
steps:
- name: Call Azure
uses: Azure/pipelines@v1
uses: amsterdam/trigger-ado-pipeline@v1
with:
azure-devops-project-url: ${{ secrets.AZURE_DEVOPS_URL }}
azure-pipeline-name: ${{ secrets.AZURE_DEVOPS_PIPELINE }}
azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}
pipeline-id: 812
organisation: CloudCompetenceCenter
project: 'Data Diensten'
pat-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}

0 comments on commit eaf78da

Please sign in to comment.