fix: use correct booking sheet tab name 'Occupancy' instead of 'Sheet1'
CI/CD / deploy (push) Failing after 1m59s Details

The CCG booking spreadsheet tab is named 'Occupancy', not 'Sheet1'.
Updated defaults in docker-compose, route, booking-sheet lib, and env example.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-04-15 12:02:15 -04:00
parent 9da7883c14
commit 24ffd8bd60
5 changed files with 6 additions and 6 deletions

View File

@ -17,5 +17,5 @@ GOOGLE_SHEET_NAME=Registrations
# Booking/Room Assignment Spreadsheet (separate from registration sheet)
# Sheet ID from URL: https://docs.google.com/spreadsheets/d/SHEET_ID/edit
BOOKING_SHEET_ID=your-booking-sheet-id-here
# Optional: Tab name in the booking spreadsheet (defaults to "Sheet1")
BOOKING_SHEET_NAME=Sheet1
# Optional: Tab name in the booking spreadsheet (defaults to "Occupancy")
BOOKING_SHEET_NAME=Occupancy

View File

@ -2,7 +2,7 @@ import { NextResponse } from "next/server"
import { getGoogleSheetsClient } from "@/lib/google-sheets"
const BOOKING_SHEET_ID = process.env.BOOKING_SHEET_ID
const BOOKING_SHEET_NAME = process.env.BOOKING_SHEET_NAME || "Sheet1"
const BOOKING_SHEET_NAME = process.env.BOOKING_SHEET_NAME || "Occupancy"
// Accommodation criteria (mirrors booking-sheet.ts)
const ACCOMMODATION_CRITERIA: Record<

View File

@ -22,7 +22,7 @@ services:
- LISTMONK_DB_PASS=${LISTMONK_DB_PASS}
- LISTMONK_LIST_ID=${LISTMONK_LIST_ID:-22}
- BOOKING_SHEET_ID=${BOOKING_SHEET_ID}
- BOOKING_SHEET_NAME=${BOOKING_SHEET_NAME:-Sheet1}
- BOOKING_SHEET_NAME=${BOOKING_SHEET_NAME:-Occupancy}
labels:
- "traefik.enable=true"
- "traefik.http.routers.ccg-staging.rule=Host(`staging-ccg.jeffemmett.com`)"

View File

@ -22,7 +22,7 @@ services:
- LISTMONK_DB_PASS=${LISTMONK_DB_PASS}
- LISTMONK_LIST_ID=${LISTMONK_LIST_ID:-22}
- BOOKING_SHEET_ID=${BOOKING_SHEET_ID}
- BOOKING_SHEET_NAME=${BOOKING_SHEET_NAME:-Sheet1}
- BOOKING_SHEET_NAME=${BOOKING_SHEET_NAME:-Occupancy}
labels:
- "traefik.enable=true"
- "traefik.http.routers.ccg.rule=Host(`cryptocommonsgather.ing`) || Host(`www.cryptocommonsgather.ing`)"

View File

@ -1,7 +1,7 @@
import { getGoogleSheetsClient } from "./google-sheets"
const BOOKING_SHEET_ID = process.env.BOOKING_SHEET_ID
const BOOKING_SHEET_NAME = process.env.BOOKING_SHEET_NAME || "Sheet1"
const BOOKING_SHEET_NAME = process.env.BOOKING_SHEET_NAME || "Occupancy"
// Mapping from checkout form accommodation codes to bed search criteria
const ACCOMMODATION_CRITERIA: Record<