added chart release workflow

Signed-off-by: Sebastien THOMAS <sebastien.thomas@wunderkind.co>
This commit is contained in:
Sebastien THOMAS
2022-05-20 08:13:32 -04:00
committed by Mikkel Oscar Lyderik Larsen
parent 75738f1eb7
commit 8b6a54627d
2 changed files with 34 additions and 1 deletions

View File

@ -1,5 +1,11 @@
name: ci
on: [push, pull_request]
on:
push:
branches-ignore:
- 'gh-pages'
pull_request:
branches-ignore:
- 'gh-pages'
jobs:
tests:
runs-on: ubuntu-latest

27
.github/workflows/release-chart.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Release Charts
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.4.0
with:
charts_dir: docs
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"