diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 8383b09..9aad2e5 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -33,10 +33,10 @@ jobs: 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 + # Use the batch-RPC Node script instead of raw psql — handles connection pooling + # and per-batch progress output. Skips the slow neon pooler path by replacing + # the pooler hostname with direct compute. + npx tsx scripts/import-tuxedo-stops.ts --no-clean 2>&1 || true - name: Build env: