Skip to content

Commit

Permalink
stupid mistake, average fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSvebakk authored Jul 11, 2024
1 parent c8c0662 commit 107ee5f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 107ee5f

Please sign in to comment.