update:新161环境配置

This commit is contained in:
2025-12-22 20:07:23 +08:00
parent b07a57fd8e
commit 584a0311d3
2 changed files with 9 additions and 0 deletions

View File

@@ -11,6 +11,14 @@ const remoteList = {
remotePath: '/usr/local/nginx/html/cid',
localPath: './dist',
},
prod: {
host: '192.168.190.161',
port: 22,
username: 'root',
password: 'Carsafe@2025',
remotePath: '/usr/local/nginx/html/cid',
localPath: './dist',
},
};
const config = remoteList[remoteName];

View File

@@ -9,6 +9,7 @@
"build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build",
"build:docker": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --outDir ./docker/dist/",
"deploy:test": "npm run build && node ./deploy.js test",
"deploy:prod": "npm run build && node ./deploy.js prod",
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
"prettier": "prettier --write ."
},