Skip to content

Commit

Permalink
Update release-charts workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
roeldev committed Mar 23, 2024
1 parent c6d871b commit 022e717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,15 @@ jobs:
id: upload-to-release
uses: svenstaro/upload-release-action@2.9.0
with:
file: ./dist/youless-observer*.tgz
file: youless-observer*.tgz
file_glob: true
overwrite: true
draft: true

- name: Update index.yaml
run: |
git stash
git checkout gh-pages
git stash pop
git status
helm repo index --url https://roeldev.github.io/youless-observer --merge index.yaml ./dist
helm repo index --url https://github.com/roeldev/youless-observer/releases/download/${{ github.ref_name }} --merge index.yaml
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add index.yaml
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ tasks:

chart:pack:
cmds:
- helm package charts/youless-observer -d ./dist
- helm package charts/youless-observer

0 comments on commit 022e717

Please sign in to comment.