From 62392d66be9afd0ad4eecef62f8a3608031646d6 Mon Sep 17 00:00:00 2001 From: Makisuo Date: Fri, 30 Oct 2026 01:47:14 +0100 Subject: [PATCH] ci(deploy): deploy the US and EU instances in parallel The EU deploy waited on the US one, doubling prod deploy time. Each instance has its own stage, environment and database, so they can run side by side once the shared ingest binary is built. --- .github/workflows/deploy-prd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-prd.yml b/.github/workflows/deploy-prd.yml index e5ea892da6..6d3643a8bd 100644 --- a/.github/workflows/deploy-prd.yml +++ b/.github/workflows/deploy-prd.yml @@ -37,9 +37,9 @@ jobs: commit-sha: ${{ github.event.workflow_run.head_sha || github.sha }} # EU instance (`*.eu.maple.dev`), opt-in via the `MAPLE_DEPLOY_EU` repo variable. - # Sequenced after `us` so a breaking change stops at one instance. + # Runs alongside `us`: separate stage, environment and database, so neither blocks the other. deploy-prd-eu: - needs: [ingest-binary, deploy-prd] + needs: ingest-binary if: ${{ vars.MAPLE_DEPLOY_EU == '1' && (github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_repository.full_name == github.repository)) }} uses: ./.github/workflows/deploy-prd-instance.yml secrets: inherit