Working on deploying to fly
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
scripts/wait-for-it.sh ${DATABASE_HOST}:5432 -- echo "database is up"
|
||||
if [ -n "$DATABASE_HOST" ]; then
|
||||
scripts/wait-for-it.sh ${DATABASE_HOST} -- echo "database is up"
|
||||
fi
|
||||
|
||||
npx prisma migrate deploy --schema /triggerdotdev/packages/database/prisma/schema.prisma
|
||||
npx ts-node@latest --transpile-only /triggerdotdev/apps/webapp/prisma/seed.ts
|
||||
npx turbo run start
|
||||
|
||||
Reference in New Issue
Block a user