From 71f56123914236362037860f7636e484d68acfd8 Mon Sep 17 00:00:00 2001 From: Yrob Date: Tue, 7 May 2024 15:59:28 +0200 Subject: [PATCH] Trigger deploy to dev and prd Automatic deploy only ran on dev. Should also run on prd --- .github/workflows/trigger-ado-deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/trigger-ado-deploy.yml b/.github/workflows/trigger-ado-deploy.yml index b4b1452..bd95cbe 100644 --- a/.github/workflows/trigger-ado-deploy.yml +++ b/.github/workflows/trigger-ado-deploy.yml @@ -14,7 +14,7 @@ jobs: name: Trigger Deploy pipeline on Azure DevOps. runs-on: ubuntu-latest steps: - - name: Call Azure + - name: Call Azure dev build uses: amsterdam/trigger-ado-pipeline@v1 with: pipeline-id: 1908 @@ -22,3 +22,11 @@ jobs: project: 'Data Diensten' pat-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} template-params: '{"environment": "dev"}' + - name: Call Azure prd build + uses: amsterdam/trigger-ado-pipeline@v1 + with: + pipeline-id: 1908 + organisation: CloudCompetenceCenter + project: 'Data Diensten' + pat-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} + template-params: '{"environment": "prd"}'