From 2de26a1afb9ae51a81af4cd58673aaf3ea788737 Mon Sep 17 00:00:00 2001 From: Jefferson Bastos Date: Wed, 17 Jun 2026 12:08:58 -0300 Subject: [PATCH] ci: make production deploy manual-only (remove push:main auto-deploy) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merging to main previously auto-triggered deploy.yml, which (on the push path, with no skip_schema_drop input) drops the `programmatic_orders` schema and re-indexes from scratch — taking the synced production instance offline for hours. Remove the `push: main` trigger so deploys are explicit-only via workflow_dispatch. This lets us merge develop -> main for code review without disturbing the live, fully-synced instance; the final version is then deployed manually (with skip_schema_drop=true to preserve progress). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac47247..6e9000b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,11 @@ concurrency: cancel-in-progress: true on: + # Deploy is MANUAL ONLY. The automatic "push: main" trigger was intentionally + # removed so that merging to main never triggers a destructive redeploy + # (schema drop + full re-index, which takes the synced instance offline for hours). + # Deploy explicitly from the Actions tab -> "Run workflow" (workflow_dispatch), + # passing skip_schema_drop=true to preserve indexing progress when appropriate. workflow_dispatch: inputs: monitor_only: @@ -17,9 +22,6 @@ on: required: false default: 'false' type: string - push: - branches: - - main jobs: deploy: