态势感知平台-自动化服务器部署配置

This commit is contained in:
fmk1023
2026-01-29 18:14:50 +08:00
parent a832c64d41
commit 0fcbf2ba73
4 changed files with 52 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ async function startDeploy() {
if (err) throw err;
try {
const localDist = path.join(__dirname, 'dist');
const localDist = path.join(__dirname, 'SAP');
await uploadDirectory(sftp, localDist, serverConfig.remotePath);
console.log('🎉 所有文件上传成功!');
conn.end();