a
This commit is contained in:
@@ -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`, // 登录用户私钥文件
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user