set default fromPath from ./dist to ./webroot

This commit is contained in:
陆柯 2021-09-05 14:05:11 +08:00
parent 8991abbdd7
commit 6d699a2c74

View File

@ -9,7 +9,7 @@ const deepmerge = require('deepmerge')
const wo = (global.wo = { const wo = (global.wo = {
envi: { envi: {
deploy: { deploy: {
fromPath: './dist', fromPath: './webroot',
gotoTarget: 'github', gotoTarget: 'github',
vultr: { vultr: {
@ -17,7 +17,7 @@ const wo = (global.wo = {
host: undefined, host: undefined,
port: 22, port: 22,
targetPath: undefined, targetPath: undefined,
targetDir: 'dist', targetDir: 'webroot',
user: undefined, user: undefined,
password: undefined, password: undefined,
key: `${process.env.HOME}/.ssh/id_rsa`, key: `${process.env.HOME}/.ssh/id_rsa`,