Add Tuxedo Corn 2026 tour seed to deploy workflow
Deploy to route.crispygoat.com / deploy (push) Has been cancelled
Deploy to route.crispygoat.com / deploy (push) Has been cancelled
Run db/seeds/2026-tuxedo-tour-stops.sql via psql after migrations in the deploy step. Uses admin_create_locations_batch + admin_create_stops_batch RPCs (migration 0003) to insert 40 locations + 269 stops for the Tuxedo Corn 2026 tour. Wrapped in BEGIN/COMMIT with DELETE-first semantics — idempotent.
This commit is contained in:
@@ -29,6 +29,15 @@ jobs:
|
||||
npm run migrate:one
|
||||
node scripts/postflight-check.js
|
||||
|
||||
- name: Seed Tuxedo Corn 2026 tour data
|
||||
env:
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
run: |
|
||||
# Run the pre-generated seed SQL file (from Tuxedo_Corn_2026_Tour_Schedule-3.xlsx via scripts/import-tuxedo-stops.ts --emit-sql).
|
||||
# Uses admin_create_locations_batch + admin_create_stops_batch RPCs (from migration 0003).
|
||||
# Wrapped in BEGIN/COMMIT with DELETE-first semantics — safe to re-run.
|
||||
psql "$DATABASE_URL" -f db/seeds/2026-tuxedo-tour-stops.sql
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
|
||||
Reference in New Issue
Block a user