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