Skip to content

Commit

Permalink
ci: fix chart release yaml syntax (#957)
Browse files Browse the repository at this point in the history
* ci: fix chart release yaml syntax

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* add path

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

---------

Signed-off-by: drivebyer <wuyangmuc@gmail.com>
  • Loading branch information
drivebyer authored May 30, 2024
1 parent 52ed749 commit df24341
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish-charts.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Release Charts

#on:
# push:
# tags:
# - "v*.*.*"
on:
push:
paths:
- 'charts/**'
- '.github/workflows/publish-charts.yaml'
branches:
- master

Expand Down Expand Up @@ -42,8 +39,6 @@ jobs:
shell: bash
working-directory: redis-operator
run: |
# VERSION=$(echo ${{ env.chart_version }} | cut -c 2-)
# sed -i "s/appVersion:.*/appVersion: \"$VERSION\"/g" charts/redis-operator/Chart.yaml
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm dependency update charts/redis-operator
Expand Down Expand Up @@ -100,4 +95,4 @@ jobs:
# owner
CR_OWNER: "${{ github.repository_owner }}"
# index path
CR_INDEX_PATH: "index.yaml"
CR_INDEX_PATH: "index.yaml"

0 comments on commit df24341

Please sign in to comment.