From 6ffed4c990a156f75071a4e26aab1660dfb95d79 Mon Sep 17 00:00:00 2001 From: Rhea Danzey Date: Fri, 20 Sep 2024 10:26:52 -0500 Subject: [PATCH] Try invoking via workflow dispatch instead Signed-off-by: Rhea Danzey --- .github/workflows/gh-pages.yml | 6 ------ .github/workflows/helm.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c140cf58b..30f55b7c8 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -8,12 +8,6 @@ on: paths: - 'docs/**' # only execute if we have docs changes - # Helm charts don't push to repo anymore, they index to GH release files now - # as such, docs/** changes won't trigger it, leaving the newly released chart out of the index until gh-pages pipeline runs - # we can rebuild when a release is published - release: - types: [published] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index 10eb7c020..4be452ae8 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -39,3 +39,13 @@ jobs: config: helm/cr.yaml charts_dir: helm/ mark_as_latest: false + + invoke_pages_build: + runs-on: ubuntu-latest + steps: + - name: Invoke gh-pages build and deploy + env: + WORKFLOW_PATH: .github/workflows/gh-pages.yml + WORKFLOW_TARGET_REF: "gh-pages" + run: | + gh workflow run ${WORKFLOW_PATH} --ref ${WORKFLOW_TARGET_REF} \ No newline at end of file