Skip to content

New release after the release action has been fixed (#258) #41

New release after the release action has been fixed (#258)

New release after the release action has been fixed (#258) #41

name: Release
on:
push:
branches:
- main
paths:
- 'charts/*/Chart.yaml'
jobs:
Release:
name: Release Workflow
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "ghrunnerbot"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
config: cr.yaml
- name: Checkout to gh-pages
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.17
- name: Generate index.html
run: |
go install github.com/halkeye/[email protected]
/home/runner/go/bin/helm-repo-html
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update index.html"