From 107ee5fdcc66759ba8a15be7a2095f1da0759f63 Mon Sep 17 00:00:00 2001 From: Eric Svebakk <47322476+EricSvebakk@users.noreply.github.com> Date: Thu, 11 Jul 2024 23:55:04 +0200 Subject: [PATCH] stupid mistake, average fix? --- .github/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e871f1..5b034ec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -41,6 +41,16 @@ jobs: NEXT_PUBLIC_SANITY_PROJECT_ID = '${{ vars.NEXT_PUBLIC_SANITY_PROJECT_ID }}' EOT rm prisma/schema.prisma + cat <<'EOT' > prisma/schema.prisma + generator client { + provider = "prisma-client-js" + } + + datasource db { + provider = "mysql" + url = env("DATABASE_URL") + } + EOT git pull origin main npm install npx dotenv -e .env.production npx prisma db pull