seperate to ConfigDeploy.js
This commit is contained in:
@@ -14,13 +14,4 @@ module.exports={
|
||||
sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file,
|
||||
},
|
||||
|
||||
deploy: {
|
||||
from: './dist', // 待部署到的文件夹
|
||||
type: 'git',
|
||||
repo: 'https://github.com/vichome/app', // 待部署到的主机
|
||||
gitname: 'vic-team',
|
||||
gitemail: 'vic-team@outlook.com',
|
||||
password: '', // 登录用户密码
|
||||
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||
},
|
||||
}
|
||||
11
ConfigDeploy.js
Normal file
11
ConfigDeploy.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports={
|
||||
deploy: {
|
||||
from: './dist', // 待部署到的文件夹
|
||||
type: 'git',
|
||||
repo: 'https://github.com/vichome/app', // 待部署到的主机
|
||||
gitname: 'vic-team',
|
||||
gitemail: 'vic-team@outlook.com',
|
||||
password: '', // 登录用户密码
|
||||
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user