u
This commit is contained in:
parent
f357481110
commit
5588af74ec
@ -60,7 +60,7 @@ const wo = (global.wo = {
|
||||
],
|
||||
// 最基础的必须的默认配置,如果用户什么也没有提供
|
||||
deploy: {
|
||||
fromPath: './webroot',
|
||||
fromPath: './_webroot',
|
||||
gotoTarget: 'github',
|
||||
|
||||
server: {
|
||||
@ -68,7 +68,7 @@ const wo = (global.wo = {
|
||||
host: undefined,
|
||||
port: 22,
|
||||
targetPath: undefined, // 目标服务器上的目录。似乎该目录必须已经存在于服务器上
|
||||
targetDir: 'webroot', // 新系统将发布在这个文件夹里。建议为dist,和npm run build产生的目录一致,这样既可以远程自动部署,也可以直接登录服务器手动部署。
|
||||
targetDir: '_webroot', // 新系统将发布在这个文件夹里。建议为dist,和npm run build产生的目录一致,这样既可以远程自动部署,也可以直接登录服务器手动部署。
|
||||
user: undefined,
|
||||
password: undefined,
|
||||
privateKey: `${process.env.HOME}/.ssh/id_rsa`
|
||||
|
Loading…
Reference in New Issue
Block a user