Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow trigger helm release after edit releases, not only publish 0.24.1 #1589

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading