From 7949b2188c5886ed3b2c7abc4bd68846c169a373 Mon Sep 17 00:00:00 2001 From: Andreas Salhus Bakseter <141913422+baksetercx@users.noreply.github.com> Date: Mon, 27 Jan 2025 09:48:12 +0100 Subject: [PATCH] Fix workflow --- .github/workflows/publish-charts.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-charts.yml b/.github/workflows/publish-charts.yml index 47511ec..25f0754 100644 --- a/.github/workflows/publish-charts.yml +++ b/.github/workflows/publish-charts.yml @@ -47,10 +47,7 @@ jobs: helm package elvia-statefulset helm package iss-deployment - - name: Index Helm repository - run: helm repo index . - - - name: Push packaged charts to GitHub repository + - name: Index Helm repository & push packaged charts to GitHub repository if changes have been made # Only on push to master if: github.ref == 'refs/heads/master' run: | @@ -59,6 +56,8 @@ jobs: exit 0 fi + helm repo index . + git config user.email '${{ vars.GH_APP_USER_EMAIL }}' git config user.name '${{ vars.GH_APP_USERNAME }}'