diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 45df378..859b275 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -3,7 +3,7 @@ name: Chart Releases on: push: branches: - - main + - main paths: - 'charts/**' # tags: @@ -17,26 +17,27 @@ jobs: contents: write runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Install Helm - uses: azure/setup-helm@v3 + - name: Install Helm + uses: azure/setup-helm@v3 - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.5.0 - with: - charts_dir: charts - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.5.0 + with: + skip_existing: "true" + charts_dir: charts + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"