diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ad5748..083cc65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,6 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 with: - charts_dir: "." config: cr.yaml env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" @@ -41,7 +40,8 @@ jobs: - name: Deploy to GitHub Pages run: | git checkout gh-pages - helm repo index . --url https://getlago.github.io/lago-helm-charts + git pull origin main --rebase --autostash + helm repo index . --url https://getlago.github.io/charts git add . git commit -m "Update Helm repo index for tag ${{ github.event.inputs.tag }}" git push origin gh-pages