This commit is contained in:
Luk Lu
2019-11-05 14:21:46 +08:00
parent 978948bff0
commit eb0a647ca9
2 changed files with 6 additions and 7 deletions

View File

@@ -10,12 +10,11 @@ module.exports={
sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file,
deploy: {
type: 'web',
host: 'server.vic.yuanjin.net', // 待部署到的主机
port: '22', // 部署到的主机的 SSH 端口
dir: '/home/adot/APPNAME', // 待部署到的目录路径
dist: 'dist', // 待部署到的文件夹
user: 'adot', // 登录用户名
from: './dist', // 待部署到的文件夹
type: 'git',
repo: 'https://github.com/vichome/webapp', // 部署到的主机
gituser: 'vic-team',
gitemail: 'vic-team@outlook.com',
password: '', // 登录用户密码
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
},