Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: make helm release only on bump version (#2928)

DarkSky50a8a147fda4
diff --git a/.github/workflows/helm-releaser.yml b/.github/workflows/helm-releaser.yml
index b85972e47d..8989dfaa0c 100644
--- a/.github/workflows/helm-releaser.yml
+++ b/.github/workflows/helm-releaser.yml
@@ -3,8 +3,8 @@ name: Release Charts
on:
push:
branches: [master]
- pull_request:
- branches: [master]
+ paths:
+ - '.github/helm/**/Chart.yml'
jobs:
release:
@@ -43,11 +43,12 @@ jobs:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
+ helm dependencies build ../.github/helm/affine
helm dependencies build ../.github/helm/affine-cloud
+ cr package ../.github/helm/affine
cr package ../.github/helm/affine-cloud
- - name: Package charts
- if: github.ref == 'refs/heads/master'
+ - name: Publish charts
working-directory: .helm-chart-repo
run: |
set -ex