diff --git a/.github/workflows/trigger-ado-publish-schemas.yml b/.github/workflows/trigger-ado-publish-schemas.yml index 34156c5b8..88f32d98e 100644 --- a/.github/workflows/trigger-ado-publish-schemas.yml +++ b/.github/workflows/trigger-ado-publish-schemas.yml @@ -1,10 +1,13 @@ 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: @@ -12,8 +15,9 @@ jobs: 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 }}