mirror of
https://github.com/apricote/Listory.git
synced 2026-02-07 02:07:03 +00:00
fix(ci): Helm chart was not automatically released
This commit is contained in:
parent
3dd45b4620
commit
ff0c1553f0
3 changed files with 43 additions and 6 deletions
27
.github/workflows/helm-repo-index.yaml
vendored
Normal file
27
.github/workflows/helm-repo-index.yaml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Helm repo index
|
||||
on: release
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish helm repo index to gh-pages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Generate index.yaml
|
||||
uses: docker://quay.io/helmpack/chart-releaser:v1.0.0-beta.1
|
||||
run: |
|
||||
mkdir .helm-index
|
||||
cr index \
|
||||
--charts-repo https://apricote.github.io/Listory
|
||||
--package-path charts
|
||||
--owner owner
|
||||
--git-repo Listory
|
||||
--index-path .helm-index/index.yaml
|
||||
|
||||
- name: Publish to gh-pages
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
with:
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BRANCH: gh-pages # The branch the action should deploy to.
|
||||
FOLDER: .helm-index # The folder the action should deploy.
|
||||
Loading…
Add table
Add a link
Reference in a new issue