Skip to content

Commit 7e54560

Browse files
authored
Create release.yml gh action
For triggering helm chart release to gh pages
1 parent 53594e3 commit 7e54560

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release Helm Charts
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Configure Git user
16+
run: |
17+
git config user.name "$GITHUB_ACTOR"
18+
git config user.email "[email protected]"
19+
- name: Run chart-releaser job
20+
uses: helm/[email protected]
21+
env:
22+
CR_TOKEN: "${{ secrets.GHA_TOKEN }}"

0 commit comments

Comments
 (0)