diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb9777ff..d590c605 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -220,4 +220,16 @@ jobs: --charts-repo https://github.com/$owner/$repo \ --pages-branch master \ --pages-index-path charts/index.yaml \ + --push + # upload charts to repo kubenetworks/charts root(/) dir not dir /charts + repo="charts" + ./cr index \ + --owner "$owner" \ + --git-repo "$repo" \ + --token "${{ secrets.CREATE_HELM_PR }}" \ + --release-name-template "v{{ .Version }}" \ + --index-path ./index.yaml \ + --charts-repo https://github.com/$owner/$repo \ + --pages-branch master \ + --pages-index-path index.yaml \ --push \ No newline at end of file