@@ -49,35 +49,49 @@ jobs:
4949 sed -i "s/^appVersion: .*/appVersion: \"${{ steps.vars.outputs.tag }}\"/" helm/Chart.yaml
5050
5151 - name : 🔍 Lint the chart
52- run : helm lint helm || echo "Helm lint failed, but continuing for the hell of it..."
52+ run : helm lint helm
5353
5454 - name : 📦 Package Helm chart
5555 run : |
5656 mkdir -p .charts
5757 helm package helm -d .charts
5858
59+ - name : 🧾 Generate Helm repo index
60+ run : |
61+ mkdir -p .deploy/helm
62+ cp .charts/*.tgz .deploy/helm/
63+ helm repo index .deploy/helm --url https://lissy93.github.io/domain-locker/helm
64+
5965 - name : 🚀 Push to GHCR
6066 run : |
6167 helm push .charts/domain-locker-${{ steps.vars.outputs.tag }}.tgz oci://ghcr.io/lissy93/domain-locker-helm
6268
69+ - name : 🦑 Deploy Helm chart to GH Pages
70+ uses : peaceiris/actions-gh-pages@v4
71+ with :
72+ github_token : ${{ secrets.GITHUB_TOKEN }}
73+ publish_dir : .deploy/helm
74+ destination_dir : helm
75+ publish_branch : gh-pages
76+
6377 - name : 🐧 Install helm-push plugin
6478 run : |
6579 helm plugin install https://github.com/chartmuseum/helm-push.git --version v0.10.3
6680 helm plugin list # shows its installed
6781
68- - name : 🚀 Push chart to Cloudsmith (with debug)
69- env :
70- CLOUDSMITH_API_KEY : ${{ secrets.CLOUDSMITH_API_KEY }}
71- CLOUDSMITH_REPO : ${{ secrets.CLOUDSMITH_REPO }} # e.g. lissy93/helm
72- run : |
73- echo "📦 Contents of .charts"; ls -l .charts
74- echo "📂 Helm plugins dir:"; ls -R ~/.local/share/helm/plugins
82+ # - name: 🚀 Push chart to Cloudsmith (with debug)
83+ # env:
84+ # CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
85+ # CLOUDSMITH_REPO: ${{ secrets.CLOUDSMITH_REPO }} # e.g. lissy93/helm
86+ # run: |
87+ # echo "📦 Contents of .charts"; ls -l .charts
88+ # echo "📂 Helm plugins dir:"; ls -R ~/.local/share/helm/plugins
7589
76- helm cm-push \
77- .charts/domain-locker-${{ steps.vars.outputs.tag }}.tgz \
78- https://helm.cloudsmith.io/$CLOUDSMITH_REPO/ \
79- --username "$CLOUDSMITH_API_KEY" \
80- --password "$CLOUDSMITH_API_KEY"
90+ # helm cm-push \
91+ # .charts/domain-locker-${{ steps.vars.outputs.tag }}.tgz \
92+ # https://helm.cloudsmith.io/$CLOUDSMITH_REPO/ \
93+ # --username "$CLOUDSMITH_API_KEY" \
94+ # --password "$CLOUDSMITH_API_KEY"
8195
8296 # - name: 📬 Publish to ArtifactHub
8397 # env:
0 commit comments