Skip to content

Commit

Permalink
Merge pull request #115 from xavier83/helm_ghpage
Browse files Browse the repository at this point in the history
Try fixing Helm Chart Release
  • Loading branch information
chrislusf authored Oct 15, 2024
2 parents 049dc0b + cb09665 commit 1026ddf
Showing 1 changed file with 8 additions and 30 deletions.
38 changes: 8 additions & 30 deletions .github/workflows/helm_chart_release.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,22 @@
name: Release Helm Chart

name: "helm: publish charts"
on:
push:
branches:
- master
paths:
- 'deploy/helm/**'
tags:
- "*"

permissions:
contents: write
pages: write

jobs:
release:
environment: helm-release
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/[email protected]
id: helm-install
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run chart-releaser
id: helm-release
uses: helm/[email protected]
with:
charts_dir: deploy/helm
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_GENERATE_RELEASE_NOTES: true
target_dir: helm
branch: gh-pages

0 comments on commit 1026ddf

Please sign in to comment.