Skip to content

Commit

Permalink
Merge pull request #29 from WorldHealthOrganization/helm_chart_reposi…
Browse files Browse the repository at this point in the history
…tory

Initial setup for automatic helm chart generation on release
  • Loading branch information
tence authored May 30, 2024
2 parents 33ad8bd + 91786ed commit 1554061
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release Charts

on:
release:
types:
- created
workflow_dispatch: # This allows the workflow to be triggered manually

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: "k8s/charts" # Specify the path to your charts directory
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 1554061

Please sign in to comment.