This commit is contained in:
陆柯 2022-08-06 13:48:30 +08:00
parent f357481110
commit 5588af74ec

View File

@ -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`