chart-releaser-action
chart-releaser-action copied to clipboard
Cannot push index to gh-pages branch
got an error when pushing updated index.yaml to gh-pages branch
Pushing to branch "gh-pages"
fatal: unable to access '***github.com/<owner>/helm-charts/': URL using bad/illegal format or missing URL
Error: exit status 128
this is my action job:
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: charts
charts_repo_url: https://<owner>.github.io/helm-charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Hello, have you resolve your problem ?
I think I had a similar issue: the url should be the GitHub Pages url and in your case it might not be https://<owner>.github.io/helm-charts. This is how I fixed it: https://github.com/lorenzophys/pvc-autoscaler/commit/63f3f9a25fc8e1db07a194bea7dc6b3333879007
Hope it helps