-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(github-page): fixing both github action to release
- Loading branch information
1 parent
7913ed4
commit 7b81c53
Showing
2 changed files
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|