From d7e1125b52a24fdfedcd38c4692d0217c0dccedc Mon Sep 17 00:00:00 2001 From: Eugene Klimov Date: Fri, 6 Dec 2024 18:44:15 +0400 Subject: [PATCH] allow trigger helm release after edit releases, not only publish (#1588) --- .github/workflows/release_chart.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_chart.yaml b/.github/workflows/release_chart.yaml index d2fe251aa..b0fd13c1d 100644 --- a/.github/workflows/release_chart.yaml +++ b/.github/workflows/release_chart.yaml @@ -2,7 +2,9 @@ name: release_chart on: release: - types: [ published ] + types: + - published + - edited jobs: release_chart: @@ -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}) @@ -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: |