From c0cfe9d359fc94c3127b678acc0c171112635456 Mon Sep 17 00:00:00 2001 From: berg Date: Thu, 21 Apr 2022 20:45:10 +0800 Subject: [PATCH] helm cr upload --skip-existing (#16) Signed-off-by: liheng.zms --- .github/workflows/publish.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a2be221..ccb23d0 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -26,16 +26,17 @@ jobs: - name: Configure Git run: | git config user.name "gh-actions" - git config user.email "actions@github.com" + git config user.email "actions@github.com" # This is required to consider the old Circle-CI Index and to stay compatible with all the old releases. - - name: Fetch current Chart Index + - name: Fetch current Chart Index run: | git checkout origin/gh-pages index.yaml - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.1 - with: + with: charts_dir: charts config: "./.github/configs/cr.yaml" env: CR_TOKEN: "${{ secrets.GH_TOKEN }}" + CR_SKIP_EXISTING: "true"