测试部署
This commit is contained in:
parent
fa76b4e719
commit
35c0a36412
@ -6,7 +6,7 @@ const config = {
|
|||||||
apiBaseUrl: 'http://192.168.18.9:48080',
|
apiBaseUrl: 'http://192.168.18.9:48080',
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
apiBaseUrl: 'http://36.103.203.89:48089',
|
apiBaseUrl: 'http://36.103.203.89:48088',
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ const config = {
|
|||||||
const localDir = path.join(__dirname, 'dist');
|
const localDir = path.join(__dirname, 'dist');
|
||||||
// 服务器目标目录
|
// 服务器目标目录
|
||||||
// const remoteDir = process.env.SFTP_REMOTE_DIR; // 如果使用环境变量
|
// const remoteDir = process.env.SFTP_REMOTE_DIR; // 如果使用环境变量
|
||||||
const remoteDir = '/home/ubuntu/mnt/Teacher_Evaluation/nginx/dist';
|
const remoteDir = '/home/ubuntu/mnt/teacher_test/nginx-1/dist';
|
||||||
|
|
||||||
async function uploadToServer() {
|
async function uploadToServer() {
|
||||||
const sftp = new SftpClient();
|
const sftp = new SftpClient();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user