Skip to content

Commit

Permalink
Test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewquang512 committed Nov 21, 2023
1 parent 4ba0b1b commit 05a16b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
cd ..
cp src/prisma/ERD.svg dist/prisma/ERD.svg
cp src/prisma/schema.prisma dist/prisma/schema.prisma
cp -r prisma_modules dist/prisma_modules
cp -r src/prisma_modules dist/prisma_modules
zip -r code.zip dist
aws lambda update-function-code --function-name images-social-backend-service --zip-file fileb://code.zip
Expand Down
2 changes: 1 addition & 1 deletion src/prisma/database.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Prisma
import { PrismaClient } from '@prisma/client';
import { PrismaClient } from '../prisma_modules';

export const prisma = new PrismaClient({
...(parseInt(process.env.IS_LOGGING) && {
Expand Down
2 changes: 1 addition & 1 deletion src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ datasource db {
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "rhel-openssl-1.0.x"]
output = "../../prisma_modules"
output = "../prisma_modules"
}

generator erd {
Expand Down

0 comments on commit 05a16b5

Please sign in to comment.