chore: 固化一键生产部署流程
This commit is contained in:
1 parent
c78deafee3
commit
47a24e0d53
6 files changed
+189
-40
No files matched your search
@@ -16,16 +16,5 @@ module.exports = {
|
||||
max_restarts: 10,
|
||||
time: true,
|
||||
},
|
||||
{
|
||||
name: "personal-brand-admin-static",
|
||||
cwd: path.join(root, "current"),
|
||||
script: "deploy/static-server.mjs",
|
||||
interpreter: process.execPath,
|
||||
env: { NODE_ENV: "production", ADMIN_STATIC_PORT: "3010" },
|
||||
autorestart: true,
|
||||
restart_delay: 2000,
|
||||
max_restarts: 10,
|
||||
time: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user