From fed2d77e156b4e28f0efc05a0638f1f6621b5b30 Mon Sep 17 00:00:00 2001 From: Michael Haswell Date: Tue, 6 Feb 2024 13:36:41 -0800 Subject: [PATCH] Removed repository setting, using default --- .../buildTestPublishContainerDeploy.yml | 1 + .github/workflows/chartReleaser.yml | 26 +++++++++++++++++++ .github/workflows/ghPages.yml | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/chartReleaser.yml diff --git a/.github/workflows/buildTestPublishContainerDeploy.yml b/.github/workflows/buildTestPublishContainerDeploy.yml index e3a4bda1c..4ff93bb3f 100644 --- a/.github/workflows/buildTestPublishContainerDeploy.yml +++ b/.github/workflows/buildTestPublishContainerDeploy.yml @@ -12,6 +12,7 @@ env: notifyBCContainerTag: latest jobs: build-and-test: + if: false runs-on: ubuntu-latest steps: - name: Checkout 🛎️ diff --git a/.github/workflows/chartReleaser.yml b/.github/workflows/chartReleaser.yml new file mode 100644 index 000000000..236029a95 --- /dev/null +++ b/.github/workflows/chartReleaser.yml @@ -0,0 +1,26 @@ +name: Release Charts + +on: + push: + branches: + - v4 + paths: + - helm/Chart.yaml + workflow_dispatch: + +jobs: + release: + # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions + # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Publish Helm charts + uses: stefanprodan/helm-gh-pages@master + with: + token: ${{ secrets.GITHUB_TOKEN }} + charts_dir: ./ + branch: gh-pages + target_dir: docs/helm diff --git a/.github/workflows/ghPages.yml b/.github/workflows/ghPages.yml index 32a8d64cc..f34401745 100644 --- a/.github/workflows/ghPages.yml +++ b/.github/workflows/ghPages.yml @@ -2,7 +2,7 @@ name: Publish to GH Pages on: push: branches: - - main + - v4 release: types: - published