👷(helm) change github action

Use another github action to avoid chart replacement to every push
This commit is contained in:
Jacques ROUSSEL
2024-12-24 08:51:39 +01:00
parent a9b16ed150
commit cb3f929138
+10 -7
View File
@@ -2,8 +2,6 @@ name: Release Charts
on:
push:
branches:
- main
jobs:
release:
@@ -21,9 +19,14 @@ jobs:
- name: Cleanup
run: rm -rf ./src/helm/extra
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@v1.7.0
- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: ./src/helm/
linting: off
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: ./src/helm
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"