fix
This commit is contained in:
parent
b2a95f97d0
commit
5bd97cdd36
|
|
@ -1,2 +1,2 @@
|
||||||
bun run build
|
bun run build
|
||||||
ssh plansys@web.andromedia.co.id "cd /home/plansys/prasi/app && git pull && /home/plansys/.bun/bin/bun run pull"
|
ssh plansys@web.andromedia.co.id "cd /home/plansys/prasi/app && bun run deploy"
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
"dev": "bun clean && bun run --silent --watch ./pkgs/core/index.ts dev",
|
"dev": "bun clean && bun run --silent --watch ./pkgs/core/index.ts dev",
|
||||||
"clean": "rm -rf app/static && rm -rf app/web/.parcel-cache",
|
"clean": "rm -rf app/static && rm -rf app/web/.parcel-cache",
|
||||||
"build": "bun run --silent ./pkgs/core/build.ts",
|
"build": "bun run --silent ./pkgs/core/build.ts",
|
||||||
|
"deploy": "bun run --silent ./pkgs/core/deploy.ts",
|
||||||
"prod": "bun run --silent ./pkgs/core/index.ts",
|
"prod": "bun run --silent ./pkgs/core/index.ts",
|
||||||
"pull": "cd app/db && bun prisma db pull && bun prisma generate",
|
"pull": "cd app/db && bun prisma db pull && bun prisma generate",
|
||||||
"pkgs-upgrade": "bun run --silent ./pkgs/core/upgrade.ts"
|
"pkgs-upgrade": "bun run --silent ./pkgs/core/upgrade.ts"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
import { dir } from "dir";
|
||||||
|
import { $ } from "execa";
|
||||||
|
|
||||||
|
await $({ cwd: dir.path("app/db") })`bun prisma db pull`;
|
||||||
|
await $({ cwd: dir.path("app/db") })`bun prisma generate`;
|
||||||
Loading…
Reference in New Issue