Commit b6a2f55a by lijiabin

feat: 优化信息

parent 369c6be5
...@@ -14,10 +14,10 @@ const deploySlug = getDeploySlug(branchName); ...@@ -14,10 +14,10 @@ const deploySlug = getDeploySlug(branchName);
const MAX_DEPLOY_BRANCH_COUNT = 5; const MAX_DEPLOY_BRANCH_COUNT = 5;
const connectInfo = { const connectInfo = {
host: "47.119.149.50", host: process.env.DEPLOY_TEST_HOST,
port: "22", port: process.env.DEPLOY_TEST_PORT,
username: "root", username: process.env.DEPLOY_TEST_USERNAME,
password: "Qdt20250205", password: process.env.DEPLOY_TEST_PASSWORD,
}; };
const remoteRootPath = "/usr/local/nginx/www/culture"; const remoteRootPath = "/usr/local/nginx/www/culture";
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"build-only": "vite build", "build-only": "vite build",
"build:dev": "nvm use 20 && vite build --mode development", "build:dev": "nvm use 20 && vite build --mode development",
"build:test": "nvm use 20 && vite build --mode test", "build:test": "nvm use 20 && vite build --mode test",
"deploy:test": "node deploy/deploytest.js", "deploy:test": "node --env-file=.env.local deploy/deploytest.js",
"build:prod": "nvm use 20 && vite build --mode production", "build:prod": "nvm use 20 && vite build --mode production",
"deploy:prod": "node --env-file=.env.local deploy/deployprod.js", "deploy:prod": "node --env-file=.env.local deploy/deployprod.js",
"deploy:prod:update-info": "node --env-file=.env.local deploy/deployprod.js --update-info" "deploy:prod:update-info": "node --env-file=.env.local deploy/deployprod.js --update-info"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment