Skip to content

Commit

Permalink
feat: add workflow to publish helm chart to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmn2 committed Feb 3, 2025
1 parent 7cd2d34 commit 4129710
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/chart_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release Charts

on:
push:
branches:
- master
paths:
- helm-charts/**

jobs:
chart_release:
name: Release Charts
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # chart releaser will not work without this param
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.7.0
with:
skip_existing: true
mark_as_latest: false
packages_with_index: true
charts_dir: helm-charts
pages_branch: gh-pages
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion helm-charts/pdfding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To install Helm, see [Helm Installation guide](https://helm.sh/docs/intro/instal
To add the PdfDing helm repository, run command:

```bash
helm repo add pdfding https://mrmn2.github.io/PdfDing/
helm repo add pdfding https://charts.pdfding.com
```

To install the PdfDing helm chart with a release name `my-release` in `ns` namespace, run command:
Expand Down

0 comments on commit 4129710

Please sign in to comment.