fix: remove NEWBOOK_LOCATION_ID from room-planner deploy — not needed for single-property setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-03 13:11:00 +00:00
parent 7758e67f5b
commit 5332f1449d

View file

@ -1107,10 +1107,6 @@ deploy_room_planner() {
msg_info "Deploying room-planner"
deploy_service 120 "room-planner" "${REPO_ROOT}/room-planner" /opt/room-planner
# NEWBOOK_LOCATION_ID is the NewBook property location ID — set in credentials file if known
local nb_location="${NEWBOOK_LOCATION_ID:-}"
[[ -z "$nb_location" ]] && msg_warn "NEWBOOK_LOCATION_ID not set — add it to /opt/room-planner/.env on LXC 120"
push_file 120 /opt/room-planner/.env <<EOF
NODE_ENV=production
APP_SLUG=room-planner
@ -1119,7 +1115,6 @@ CENTRAL_AUTH_SECRET=${CENTRAL_AUTH_SECRET}
SETTINGS_URL=http://10.10.10.116:3080
SETTINGS_SECRET=${SETTINGS_SECRET}
OFFICE_IP_CHECK=${OFFICE_IP_CHECK:-${OFFICE_IP:-disabled}}
NEWBOOK_LOCATION_ID=${nb_location}
DEFAULT_CHECKOUT_TIME=11:00
FRONTEND_PORT=3080
EOF