Try invoking via workflow dispatch instead

Signed-off-by: Rhea Danzey <rdanzey@element.io>
This commit is contained in:
Rhea Danzey 2024-09-20 10:26:52 -05:00
parent 2457d51a55
commit 6ffed4c990
No known key found for this signature in database
GPG key ID: BC69166FB2668680
2 changed files with 10 additions and 6 deletions

View file

@ -8,12 +8,6 @@ on:
paths: paths:
- 'docs/**' # only execute if we have docs changes - '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 # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:

View file

@ -39,3 +39,13 @@ jobs:
config: helm/cr.yaml config: helm/cr.yaml
charts_dir: helm/ charts_dir: helm/
mark_as_latest: false 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}