Skip to content

Commit

Permalink
fix(github-page): fixing both github action to release
Browse files Browse the repository at this point in the history
  • Loading branch information
electrosenpai committed Oct 29, 2024
1 parent 7913ed4 commit 7b81c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/creating_pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Release PR
name: Prepare Release PR

on:
workflow_dispatch:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,12 @@ jobs:
if: env.has_release_label == 'true'
run: helm dependency update .

- name: Run chart-releaser
if: env.has_release_label == 'true'
uses: helm/[email protected]
with:
config: cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Deploy to GitHub Pages
if: env.has_release_label == 'true'
run: |
git checkout gh-pages
git pull origin gh-pages --rebase
helm package . --destination charts/
helm repo index . --url https://getlago.github.io/charts
git add .
git commit -m "Update Helm repo index after release"
Expand Down

0 comments on commit 7b81c53

Please sign in to comment.