Skip to content

Commit 4b9a7e0

Browse files
committed
👷(helm) add a github workflow to publish a chart
In order to avoid to duplicat helm chart between this repository and the deployement repository, we decide to publish an helm chart
1 parent 6e5a0fb commit 4b9a7e0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
11+
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
12+
permissions:
13+
contents: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Cleanup
22+
run: rm -rf ./src/helm/extra
23+
24+
- name: Publish Helm charts
25+
uses: stefanprodan/helm-gh-pages@v1.7.0
26+
with:
27+
charts_dir: ./src/helm/
28+
linting: off
29+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)