Skip to content

Commit

Permalink
Merge pull request #109 from bpineau/helm-publish
Browse files Browse the repository at this point in the history
Auto-publish helm chart to github
  • Loading branch information
bpineau committed Dec 1, 2020
2 parents 55d261c + 5a391fc commit f38025e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/chart-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: helm-release

on:
push:
# release chart on every master merge that touch charts
branches:
- master
paths:
- 'assets/helm-chart/**'

jobs:
publish-helm-chart:
name: Publish helm chart
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"

- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@919cd2c
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: assets/helm-chart
charts_url: https://bpineau.github.io/katafygio
branch: gh-pages
helm_version: 3.4.1

7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,12 @@ On MacOS, you can use the brew formula:
brew install bpineau/tap/katafygio
```

You can also deploy with the provided [helm](https://helm.sh/) chart:
You can also deploy with the provided [helm](https://helm.sh/) chart and/or repository:
```shell
helm install --name kf-backups assets/helm-chart/katafygio/
helm repo add katafygio https://bpineau.github.io/katafygio
helm repo update

helm install kube-backups katafygio/katafygio
```

## See Also
Expand Down

0 comments on commit f38025e

Please sign in to comment.