chart-releaser-action icon indicating copy to clipboard operation
chart-releaser-action copied to clipboard

Cannot push index to gh-pages branch

Open nut-api opened this issue 3 years ago • 2 comments

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 }}"

nut-api avatar May 18 '22 09:05 nut-api

Hello, have you resolve your problem ?

jplanckeel avatar Aug 02 '22 09:08 jplanckeel

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

lorenzophys avatar Aug 08 '23 07:08 lorenzophys