From e568516f7b27b3baf2bd8534c70638eaaa4ff620 Mon Sep 17 00:00:00 2001 From: Jacob Cox Date: Wed, 20 May 2026 15:46:41 -0700 Subject: [PATCH] test push is auto, prod push is manual --- .github/workflows/publish-charts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-charts.yml b/.github/workflows/publish-charts.yml index ba63e02..4531ac8 100644 --- a/.github/workflows/publish-charts.yml +++ b/.github/workflows/publish-charts.yml @@ -3,7 +3,7 @@ name: Publish Helm Charts on: push: - branches: [main] + branches-ignore: [main] workflow_dispatch: inputs: migrate: @@ -79,7 +79,7 @@ jobs: - name: Determine registry id: registry run: | - if [ "${{ github.ref }}" = "refs/heads/main" ]; then + if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then echo "path=oci://ghcr.io/controlplane-com/templates" >> $GITHUB_OUTPUT else echo "path=oci://ghcr.io/controlplane-com/templates/test" >> $GITHUB_OUTPUT