New release after the release action has been fixed (#258) #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |