allow both 'file' and 'greenlock' when protocol=='httpall'
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
module.exports={
|
||||
protocol:'http',
|
||||
host:'localhost',
|
||||
port:undefined,
|
||||
module.exports = {
|
||||
protocol: 'http',
|
||||
host: 'localhost',
|
||||
port: undefined,
|
||||
|
||||
deploy:{
|
||||
host:'', // 待部署到的主机
|
||||
port:'22', // 带部署到的主机的 SSH 端口
|
||||
root:'/home/tic/node.console.web', // 待部署到的目录路径
|
||||
dist:'dist', // 待部署到的文件夹
|
||||
user:'tic', // 登录用户名
|
||||
password:'', // 登录用户密码
|
||||
key:`${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||
deploy: {
|
||||
host: '', // 待部署到的主机
|
||||
port: '22', // 带部署到的主机的 SSH 端口
|
||||
root: '/home/tic/node.console.web', // 待部署到的目录路径
|
||||
dist: 'dist', // 待部署到的文件夹
|
||||
user: 'tic', // 登录用户名
|
||||
password: '', // 登录用户密码
|
||||
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user