From 4f26d6c15d7885a2beaed82afa07347648c48a14 Mon Sep 17 00:00:00 2001 From: Ido Heyvi Date: Wed, 30 Oct 2024 14:58:43 +0200 Subject: [PATCH] Testing netos-docs github workflow --- .github/workflows/docs-ci-trigger.yaml | 11 +++++++---- manifests/test-docs-workflow.yaml | 13 +++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 manifests/test-docs-workflow.yaml diff --git a/.github/workflows/docs-ci-trigger.yaml b/.github/workflows/docs-ci-trigger.yaml index e0b7e2070..16edfa815 100644 --- a/.github/workflows/docs-ci-trigger.yaml +++ b/.github/workflows/docs-ci-trigger.yaml @@ -2,12 +2,15 @@ name: Documentation CI - call downstream workflow on: push: - tags: - - "v*" + branches: + - test-netops-docs-workflow + paths: + - manifests/** jobs: trigger_downstream_workflow: - uses: Mellanox/network-operator-docs/.github/workflows/docs-ci.yaml@main + #uses: Mellanox/network-operator-docs/.github/workflows/docs-ci.yaml@main + uses: heyvister1/network-operator-docs/.github/workflows/docs-ci.yaml@test-netops-docs-workflow with: git_tag: ${{ github.ref_name }} - secrets: inherit + token: ${{ secrets.GH_TOKEN }} diff --git a/manifests/test-docs-workflow.yaml b/manifests/test-docs-workflow.yaml new file mode 100644 index 000000000..4196ee30e --- /dev/null +++ b/manifests/test-docs-workflow.yaml @@ -0,0 +1,13 @@ +# Copyright 2020 NVIDIA +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. \ No newline at end of file