Skip to content

Commit 8f019ea

Browse files
authored
Update workflow.yaml
1 parent 1982ffc commit 8f019ea

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/workflow.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,9 @@ jobs:
4949
push: true
5050
tags: '${{ vars.REGISTRY_URL }}/k8s/redoc:${{ env.run_id }},${{ vars.REGISTRY_URL }}/k8s/redoc:latest,${{ vars.REGISTRY_URL }}/release/redoc:${{ env.run_id }},${{ vars.REGISTRY_URL }}/release/redoc:latest'
5151

52-
trigger_azure_pipeline:
53-
runs-on: arc-runner-set
54-
needs: build
55-
56-
steps:
57-
- name: Trigger Azure DevOps Pipeline
58-
uses: Azure/pipelines@v1.2
59-
with:
60-
azure-devops-project-url: '${{ secrets.AZURE_DEVOPS_PROJECT_URL }}'
61-
azure-pipeline-name: 'ReDoc-CD'
62-
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
63-
azure-pipeline-variables: '{"GITHUB_RUN_ID": "${{ github.run_id }}", "GITHUB_RUN_ATTEMPT": "${{ github.run_attempt }}"}'
64-
6552
create_release:
6653
runs-on: ubuntu-latest
67-
needs: trigger_azure_pipeline
54+
needs: build
6855

6956
steps:
7057
- name: Create release
@@ -76,3 +63,16 @@ jobs:
7663
--repo="$GITHUB_REPOSITORY" \
7764
--title="${GITHUB_REPOSITORY#*/} ${{github.run_id}}.${{ github.run_attempt }}" \
7865
--generate-notes
66+
67+
trigger_azure_pipeline:
68+
runs-on: arc-runner-set
69+
needs: create_release
70+
71+
steps:
72+
- name: Trigger Azure DevOps Pipeline
73+
uses: Azure/pipelines@v1.2
74+
with:
75+
azure-devops-project-url: '${{ secrets.AZURE_DEVOPS_PROJECT_URL }}'
76+
azure-pipeline-name: 'ReDoc-CD'
77+
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
78+
azure-pipeline-variables: '{"GITHUB_RUN_ID": "${{ github.run_id }}", "GITHUB_RUN_ATTEMPT": "${{ github.run_attempt }}"}'

0 commit comments

Comments
 (0)