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