Skip to content

Commit

Permalink
generating prisma schema for the build
Browse files Browse the repository at this point in the history
  • Loading branch information
emrergin committed Dec 30, 2023
1 parent 6c04d65 commit 58ebe27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Generate date and write to file
run: echo "const buildDate = '`date +%Y%m%d%H%M`'; export default buildDate;" > buildDate.ts
- name: Build
run: npm run build
run: npm run buildfordeploy
- name: Prepare files
run: |
cp -r public .next/standalone
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"buildfordeploy":"prisma generate && next build",
"start": "next start",
"lint": "next lint",
"format": "npx prettier ./src -w"
Expand Down

0 comments on commit 58ebe27

Please sign in to comment.