Skip to content

Commit 5eace07

Browse files
committed
fix(deploy): update release script to deploy frontend only and adjust deployment task configuration
1 parent d4a39b9 commit 5eace07

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"deploy": "npm run task deploy",
3232
"deploy:frontend": "npm run task deploy:frontend",
3333
"deploy:backend": "npm run task deploy:backend",
34-
"release": "npm run deploy",
34+
"release": "npm run deploy:frontend",
3535
"backend:push": "npm run task backend:push",
3636
"backend:open": "npm run task backend:open",
3737
"backend:logs": "npm run task backend:logs",

scripts/task-runner.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,12 @@ const TASKS = {
172172
// Deployment
173173
deploy: {
174174
description: "Deploy to production",
175-
workspaces: ["root"],
175+
workspaces: ["frontend", "backend"],
176176
parallel: false,
177-
script: "deploy",
177+
scripts: {
178+
frontend: "deploy:hostinger",
179+
backend: "deploy",
180+
},
178181
},
179182
"deploy:frontend": {
180183
description: "Deploy frontend only",

0 commit comments

Comments
 (0)