Skip to content

Commit cb3f929

Browse files
committed
👷(helm) change github action
Use another github action to avoid chart replacement to every push
1 parent a9b16ed commit cb3f929

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/release-helm-chart.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Release Charts
22

33
on:
44
push:
5-
branches:
6-
- main
75

86
jobs:
97
release:
@@ -21,9 +19,14 @@ jobs:
2119
- name: Cleanup
2220
run: rm -rf ./src/helm/extra
2321

24-
- name: Publish Helm charts
25-
uses: stefanprodan/helm-gh-pages@v1.7.0
22+
- name: Install Helm
23+
uses: azure/setup-helm@v4
24+
env:
25+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
26+
27+
- name: Run chart-releaser
28+
uses: helm/chart-releaser-action@v1.6.0
2629
with:
27-
charts_dir: ./src/helm/
28-
linting: off
29-
token: ${{ secrets.GITHUB_TOKEN }}
30+
charts_dir: ./src/helm
31+
env:
32+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)