diff --git a/.github/workflows/.deploy.yml b/.github/workflows/.deploy.yml index 0ce3ae6..29f3d75 100644 --- a/.github/workflows/.deploy.yml +++ b/.github/workflows/.deploy.yml @@ -87,6 +87,8 @@ jobs: cd backend npm ci - name: Run Prisma Migrations + env: + DATABASE_URL: "postgresql://${{ secrets.DB_USER }}:${{ secrets.DB_PASSWORD }}@nr-nmp-database-${{ github.event.number }}:${{ secrets.DB_PORT }}/${{ secrets.DB_NAME }}?schema=public" run: | cd backend npx prisma migrate deploy