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 16935f8 commit 5217a3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ jobs:
npm install
npm run prisma_gen
npm run build
cd dist
mkdir prisma_modules
cd..
cp src/prisma/ERD.svg dist/prisma/ERD.svg
cp src/prisma/schema.prisma dist/prisma/schema.prisma
cp src/libquery_engine-rhel-openssl-1.0.x.so.node dist/libquery_engine-rhel-openssl-1.0.x.so.node
cp -r 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
prisma_modules
# Logs
logs
*.log
Expand Down
1 change: 1 addition & 0 deletions src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ datasource db {
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "rhel-openssl-1.0.x"]
output = "../../prisma_modules"
}

generator erd {
Expand Down

0 comments on commit 5217a3b

Please sign in to comment.