添加 阿拉伯语 和 俄语
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"name": "超级管理员",
|
||||
"avatar": null,
|
||||
"phone": null,
|
||||
"email": "admin@umedglobal.com",
|
||||
"email": "Umedchina@outlook.com",
|
||||
"role_id": "role_1",
|
||||
"status": "active",
|
||||
"is_built_in": 1,
|
||||
|
||||
@@ -362,7 +362,7 @@
|
||||
"og_title": null,
|
||||
"og_description": null,
|
||||
"og_image": null,
|
||||
"robots": "noindex,follow",
|
||||
"robots": "index,follow",
|
||||
"og_type": "website",
|
||||
"updated_at": "2026-06-29 10:25:40",
|
||||
"updated_by": null
|
||||
@@ -378,7 +378,7 @@
|
||||
"og_title": null,
|
||||
"og_description": null,
|
||||
"og_image": null,
|
||||
"robots": "noindex,follow",
|
||||
"robots": "index,follow",
|
||||
"og_type": "website",
|
||||
"updated_at": "2026-06-29 10:25:40",
|
||||
"updated_by": null
|
||||
@@ -394,7 +394,7 @@
|
||||
"og_title": null,
|
||||
"og_description": null,
|
||||
"og_image": null,
|
||||
"robots": "noindex,follow",
|
||||
"robots": "index,follow",
|
||||
"og_type": "website",
|
||||
"updated_at": "2026-06-29 10:25:40",
|
||||
"updated_by": null
|
||||
@@ -410,7 +410,7 @@
|
||||
"og_title": null,
|
||||
"og_description": null,
|
||||
"og_image": null,
|
||||
"robots": "noindex,follow",
|
||||
"robots": "index,follow",
|
||||
"og_type": "website",
|
||||
"updated_at": "2026-06-29 10:25:40",
|
||||
"updated_by": null
|
||||
@@ -426,7 +426,7 @@
|
||||
"og_title": null,
|
||||
"og_description": null,
|
||||
"og_image": null,
|
||||
"robots": "noindex,follow",
|
||||
"robots": "index,follow",
|
||||
"og_type": "website",
|
||||
"updated_at": "2026-06-29 10:25:40",
|
||||
"updated_by": null
|
||||
@@ -442,7 +442,7 @@
|
||||
"og_title": null,
|
||||
"og_description": null,
|
||||
"og_image": null,
|
||||
"robots": "noindex,follow",
|
||||
"robots": "index,follow",
|
||||
"og_type": "website",
|
||||
"updated_at": "2026-06-29 10:25:40",
|
||||
"updated_by": null
|
||||
|
||||
@@ -37,6 +37,9 @@ function getConnectOptions() {
|
||||
}
|
||||
if (existsSync(config.privateKeyPath)) {
|
||||
opts.privateKey = readFileSync(config.privateKeyPath)
|
||||
if (process.env.DEPLOY_SSH_PASSPHRASE) {
|
||||
opts.passphrase = process.env.DEPLOY_SSH_PASSPHRASE
|
||||
}
|
||||
return opts
|
||||
}
|
||||
return null
|
||||
@@ -112,9 +115,11 @@ async function main() {
|
||||
conn,
|
||||
[
|
||||
`cd ${config.remoteDir}`,
|
||||
'mkdir -p public/images/uploads',
|
||||
'tar -xzf deploy-pack.tar.gz',
|
||||
'rm -f deploy-pack.tar.gz',
|
||||
'ls -la .output/server/index.mjs .env',
|
||||
'ls -la .output/server/index.mjs .env start.sh public/images/uploads',
|
||||
'pm2 restart umed-web 2>/dev/null || pm2 start .output/server/index.mjs --name umed-web 2>/dev/null || echo PM2_NOT_CONFIGURED',
|
||||
'echo DEPLOY_EXTRACT_OK',
|
||||
].join(' && ')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user