diff --git a/.github/workflows/chart_release.yaml b/.github/workflows/chart_release.yaml new file mode 100644 index 0000000..4c30b8c --- /dev/null +++ b/.github/workflows/chart_release.yaml @@ -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 }}" diff --git a/helm-charts/pdfding/README.md b/helm-charts/pdfding/README.md index cce1466..a3f8093 100644 --- a/helm-charts/pdfding/README.md +++ b/helm-charts/pdfding/README.md @@ -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: