From 2e9a21491d71d74a89c3828fef6cc8b41b54123a Mon Sep 17 00:00:00 2001 From: Mirfayz Karimov <88786239+mrkarimoff@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:56:26 +0500 Subject: [PATCH] Update build.yml to include prisma db push command --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fa203ab..18882571 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,9 @@ jobs: - name: Generate prisma client run: pnpm prisma generate + + - name: Push database schema to PlanetScale + run: pnpm prisma db push --accept-data-loss - uses: actions/cache@v3 name: Setup next cache