From c2b68aadd85f00f07bcc40711c40170cb9313bd1 Mon Sep 17 00:00:00 2001 From: Adam Laycock Date: Tue, 27 Aug 2024 20:38:45 +0100 Subject: [PATCH] ci: include env --- .github/workflows/deployment.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 6ea40dc..a08569c 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -82,6 +82,8 @@ jobs: 'prisma/schema.prisma') }} - name: โ‰๏ธ Generate Typed SQL + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} run: npx prisma generate --sql - name: ๐Ÿ”ฌ Lint @@ -116,6 +118,8 @@ jobs: 'prisma/schema.prisma') }} - name: โ‰๏ธ Generate Typed SQL + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} run: npx prisma generate --sql - name: ๐Ÿ”Ž Type check @@ -186,6 +190,8 @@ jobs: run: npx prisma migrate dev - name: โ‰๏ธ Generate Typed SQL + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} run: npx prisma generate --sql - name: ๐Ÿงช Test