-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the amsterdam version for triggering ado pipeline
To use the same action for all our projects.
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
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
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 }} |