fix: replace prisma migrate deploy with db push in CI pipeline
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 41s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 41s
prisma migrate deploy requires pre-generated migration files which won't exist when schema is edited directly. db push syncs schema directly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
75f8dd27e7
commit
b81b7fba92
@ -59,10 +59,10 @@ jobs:
|
||||
echo "[deploy] No failed migrations found"
|
||||
fi
|
||||
|
||||
- name: Run database migrations
|
||||
- name: Sync database schema
|
||||
run: |
|
||||
cd /tmp/api-server
|
||||
npx prisma migrate deploy
|
||||
npx prisma db push --skip-generate
|
||||
|
||||
- name: Deploy NestJS API
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user