Fix scoped deployment state and config ownership

This commit is contained in:
Frank
2026-08-25 20:24:47 -07:00
parent 3a56a07883
commit bc718f04f4
3 changed files with 65 additions and 9 deletions
+2 -1
View File
@@ -208,7 +208,8 @@ if [[ "$NEW_REVISION" != "$EXPECTED_REVISION" ]]; then
echo "FAIL: target checkout is $NEW_REVISION, expected $EXPECTED_REVISION" >&2
exit 1
fi
exec ./scripts/deploy-remote.sh "$TARGET" "$NEW_REVISION" "$@"
exec ./scripts/deploy-remote.sh "$TARGET" "$NEW_REVISION" "$@" \
--from-revision "$OLD_REVISION"
REMOTE_EOF
echo "=== Deploy complete: $TARGET ==="