Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
The app uses db push (no migration files), so migrate deploy was a no-op. Also removes the redundant migration step from deploy.yaml since the entrypoint now handles schema sync on every container start. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
9 lines
165 B
Bash
9 lines
165 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Syncing database schema..."
|
|
node ./node_modules/prisma/build/index.js db push --skip-generate
|
|
|
|
echo "Starting server..."
|
|
exec node server.js
|