41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
module.exports={
|
|
deploy: {
|
|
from: './dist', // 待部署到的文件夹
|
|
type: 'git',
|
|
repo: 'https://github.com/vichome/app', // 待部署到的主机
|
|
gitname: 'vic-team',
|
|
gitemail: 'vic-team@outlook.com',
|
|
password: '', // 登录用户密码
|
|
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
|
},
|
|
}
|
|
|
|
module.exports = {
|
|
deploy: {
|
|
fromPath: "./dist",
|
|
gotoTarget: "github",
|
|
github: {
|
|
targetType: "git",
|
|
repo: "https://github.com/tuc-vic/vic.bittic.org",
|
|
branch: "main",
|
|
gitname: "log-team",
|
|
gitemail: "log-team@outlook.com",
|
|
url: 'http://vic.bittic.org'
|
|
},
|
|
vultr: {
|
|
targetType: "ssh",
|
|
host: "vic.bittic.org",
|
|
targetPath: "/faronear/tuc-vic/vic.webhome.hexo",
|
|
targetDir: "public",
|
|
user: "adot",
|
|
password: "",
|
|
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
|
},
|
|
unicloud: {
|
|
targetType: "serverless",
|
|
space: "cn-bittic-vic",
|
|
url: "http://vic.bittic.cn",
|
|
},
|
|
},
|
|
};
|