update:新161环境配置
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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 ."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user