Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rsarm authored May 29, 2024
1 parent 49c6f81 commit 0424e84
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,20 @@ jobs:
run: helm dependency build chart/

- name: Package Helm chart
run: helm package chart/

- name: Create Helm repo index
run: |
helm repo index . --url https://eth-cscs.github.io/firecrestspawner --merge index.yaml
helm package chart/
rm -rf chart/Chart.lock chart/charts/
mkdir gh_
mv *.tgz index.yaml gh_
mv *.tgz gh_
- name: Push to gh-pages branch
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch origin gh-pages:gh-pages
git checkout gh-pages
mv gh_/* .
helm repo index . --url https://eth-cscs.github.io/firecrestspawner --merge index.yaml
mv gh_/*tgz .
git add *.tgz index.yaml
git commit -m "Update Helm repo"
git push origin gh-pages
Expand Down

0 comments on commit 0424e84

Please sign in to comment.