Skip to content

Commit

Permalink
Added trigger for ADO pipeline (#119)
Browse files Browse the repository at this point in the history
* Added trigger for ado

* added missing params

* change trigger branch

* changed trigger back to correct branch
  • Loading branch information
svbeusekom authored Feb 12, 2025
1 parent 3225f48 commit ae11bbc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/trigger-ado-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 dev build
uses: amsterdam/trigger-ado-pipeline@v1
with:
pipeline-id: ${{ secrets.AZURE_DEVOPS_PIPELINE_ID }}
organisation: ${{ secrets.AZURE_DEVOPS_ORG }}
project: ${{ secrets.AZURE_DEVOPS_PROJECT }}
pat-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}
template-params: '{"environments": "- dev\n- prd", "branch": "main", "akscluster": "blue", "skip_apt_edits": true, "skip_apt_update": true}'

0 comments on commit ae11bbc

Please sign in to comment.