module.exports={ protocol:'http', host:'localhost', port:undefined, // 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置: // sslKey: '/etc/letsencrypt/live/bittic.org/privkey.pem', // ssl key file, // sslCert: '/etc/letsencrypt/live/bittic.org/cert.pem', // ssl cert file, // sslCA: '../SSL/ca_bundle.crt', // ssl ca file, deploy:{ host:'', // 待部署到的主机 port:'22', // 带部署到的主机的 SSH 端口 root:'/home/tic/node.console.web', // 待部署到的目录路径 dist:'dist', // 待部署到的文件夹 user:'tic', // 登录用户名 password:'', // 登录用户密码 key:`${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件 }, }