From dc6145ce863a9da2530c184b2b58389f3d6108e7 Mon Sep 17 00:00:00 2001 From: Michael Zeevi Date: Tue, 27 Aug 2024 02:13:50 +0300 Subject: [PATCH] feat: add trigger for docs ci Signed-off-by: Michael Zeevi --- .github/workflows/docs-ci-trigger.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/docs-ci-trigger.yaml diff --git a/.github/workflows/docs-ci-trigger.yaml b/.github/workflows/docs-ci-trigger.yaml new file mode 100644 index 000000000..c951c1047 --- /dev/null +++ b/.github/workflows/docs-ci-trigger.yaml @@ -0,0 +1,17 @@ +name: documentation CI - call downstream workflow + +on: + push: + tags: + - "v*" + +env: + DOWNSTREAM_WORKFLOW_REPO: Mellanox/network-operator-docs + DOWNSTREAM_WORKFLOW_PATH: .github/workflows/docs-ci.yaml + DOWNSTREAM_WORKFLOW_BRANCH: main + +jobs: + trigger_downstream_workflow: + uses: ${{ env.DOWNSTREAM_WORKFLOW_REPO }}/${{ env.DOWNSTREAM_WORKFLOW_PATH }}@${{ env.DOWNSTREAM_WORKFLOW_BRANCH }} + with: + git_tag: ${{ github.ref_name }}