Skip to content

Commit

Permalink
fix(github-page): Using multiple rebase to avoid push problem
Browse files Browse the repository at this point in the history
  • Loading branch information
electrosenpai committed Oct 29, 2024
1 parent e1efb15 commit 11d0b40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11d0b40

Please sign in to comment.