From c48c9d4094969bf06c385194a12c0438bfc8d28f Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 2 Sep 2026 02:07:50 -0400 Subject: [PATCH] Release primary Worker candidate through dedicated workflow --- .gitea/workflows/production-candidate.yml | 3 +++ docs/cutover-runbook.md | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/production-candidate.yml b/.gitea/workflows/production-candidate.yml index 6ee5978..75d9bbb 100644 --- a/.gitea/workflows/production-candidate.yml +++ b/.gitea/workflows/production-candidate.yml @@ -1,6 +1,9 @@ name: Deploy primary production Worker candidate on: + push: + branches: [astro-platform-pilot] + paths: [.gitea/workflows/production-candidate.yml] workflow_dispatch: jobs: diff --git a/docs/cutover-runbook.md b/docs/cutover-runbook.md index e278dc4..a35fcc7 100644 --- a/docs/cutover-runbook.md +++ b/docs/cutover-runbook.md @@ -20,8 +20,10 @@ static assets to a distinct Worker. - Existing Pages production deployment: `2fb1b659-5928-4470-bb04-ef4c9105b843` from the `main` branch. - Preview Worker: `3031023-xyz-www-preview`, with no custom domains or routes. -- Production candidate Worker: `3031023-xyz`, deployed only through the manual - `Deploy primary production Worker candidate` workflow. +- Production candidate Worker: `3031023-xyz`, deployed only through the + dedicated `Deploy primary production Worker candidate` workflow. Its push + trigger is limited to changes to that workflow file; ordinary site commits + cannot update this Worker. ## Cutover sequence (requires separate approval)