Switch to the action in the Amsterdam github subscription. #17
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: 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: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Trigger Deploy pipeline on Azure DevOps. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Call Azure | |
uses: amsterdam/trigger-ado-pipeline@v1 | |
with: | |
pipeline-id: 1908 | |
organisation: CloudCompetenceCenter | |
project: 'Data Diensten' | |
pat-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} | |
template-params: '{"environment": "dev"}' |