Helm-chart GitHub action (#199)

This commit is contained in:
Jansen Fuller
2026-05-12 12:00:16 +00:00
committed by GitHub
parent d7d9de3bbe
commit 5165897200
4 changed files with 101 additions and 2 deletions

View File

@ -28,3 +28,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
keep_files: true

37
.github/workflows/publish-helm.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Publish Helm Charts
on:
push:
branches:
- main
paths:
- 'helm/**'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v4
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: helm
charts_repo_url: https://gothenburgbitfactory.org/taskchampion-sync-server/helm-chart
pages_index_path: helm-charts