diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73ce11c..abab7ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,12 +46,18 @@ jobs: - name: Deploy to GitHub Pages if: env.has_release_label == 'true' run: | + git fetch origin + git checkout gh-pages + + git pull origin gh-pages --rebase + git pull origin main --rebase + helm package . --destination charts/ helm repo index . --url https://getlago.github.io/charts + git add . - git add charts/ git commit -m "Update Helm repo index after release" git push origin gh-pages