Skip to content

Commit

Permalink
ci: add workflow for publishing helm charts
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Feb 1, 2022
1 parent cf1f49b commit 543aa98
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: publish_helm_chart

on:
push:
branches:
- master
paths:
- ".github/workflows/chart.yaml"
- "charts/**"

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
# pinning to the sha 5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f from https://github.com/actions/checkout/releases/tag/v2.3.4
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
with:
submodules: true
fetch-depth: 0
- name: Publish Helm chart
# pinning to the sha f1701eb82e4d4b82016e7965501c8b6d79feaec9 from https://github.com/stefanprodan/helm-gh-pages/releases/tag/v1.4.1
uses: stefanprodan/helm-gh-pages@f1701eb82e4d4b82016e7965501c8b6d79feaec9
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: charts
target_dir: charts
linting: off

0 comments on commit 543aa98

Please sign in to comment.