From a685646288c4703ac94b793c38871cb1b469ea4f Mon Sep 17 00:00:00 2001 From: dev_agent Date: Mon, 12 Oct 2026 07:22:58 -0400 Subject: [PATCH] Select the full origin/main ref in the manual runbook paths (Maestro 85cca5ad) The manual checkout and the --ref seed example now use refs/remotes/origin/main, matching the unattended path in auto-deploy.sh, so a tag or local branch named origin/main cannot be picked up instead. Co-Authored-By: Claude Opus 5.5 --- deploy/RUNBOOK.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/RUNBOOK.md b/deploy/RUNBOOK.md index 6478bc6..f79b41d 100644 --- a/deploy/RUNBOOK.md +++ b/deploy/RUNBOOK.md @@ -110,7 +110,7 @@ git fetch --tags origin rollback=$(git rev-parse --verify --quiet "$running^{commit}") \ || fail "running version $running is not a commit in this repository" echo "rollback SHA: $rollback (running version $running)" # RECORD it for rollback -git checkout --detach origin/main # or the release tag, e.g. v1.0.0 +git checkout --detach "refs/remotes/origin/main^{commit}" # or the release tag, e.g. v1.0.0 dirty=$(git status --porcelain --untracked-files=no -- . ':(exclude)internal/frontend/dist') [ -z "$dirty" ] || fail "the checkout has modified tracked files; clean it first: $dirty" @@ -327,7 +327,7 @@ one manual deploy of the release production should run (below), then start the timer: ```sh -sudo /usr/local/sbin/mealquest-auto-deploy --ref origin/main +sudo /usr/local/sbin/mealquest-auto-deploy --ref refs/remotes/origin/main sudo systemctl enable --now mealquest-auto-deploy.timer systemctl list-timers mealquest-auto-deploy.timer ```