Skip to content

Commit

Permalink
allow trigger helm release after edit releases, not only publish (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach authored Dec 6, 2024
1 parent 17a78fd commit d7e1125
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: release_chart

on:
release:
types: [ published ]
types:
- published
- edited

jobs:
release_chart:
Expand All @@ -27,6 +29,7 @@ jobs:
run: cr package deploy/helm/clickhouse-operator

- name: Get Release Assets
id: get_assets
run: |
CHART_PATH=$(ls .cr-release-packages/altinity-clickhouse-operator-*.tgz)
ASSET_NAME=$(basename ${CHART_PATH})
Expand All @@ -41,7 +44,7 @@ jobs:
if: steps.get_assets.outputs.asset_id != ''
run: |
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository
"https://api.github.com/repos/${{ github.repository }}
- name: Upload Release Artifacts
run: |
Expand Down

0 comments on commit d7e1125

Please sign in to comment.