rename Config*.js to envar-base-*.js
This commit is contained in:
28
envar-base-deploy.js
Normal file
28
envar-base-deploy.js
Normal file
@@ -0,0 +1,28 @@
|
||||
module.exports = {
|
||||
deploy: {
|
||||
fromPath: "./dist",
|
||||
gotoTarget: "github",
|
||||
github: {
|
||||
targetType: "git",
|
||||
repo: "https://github.com/tuc-vic/vic-user.bittic.org",
|
||||
branch: "main",
|
||||
gitname: "vic-team",
|
||||
gitemail: "vic-team@outlook.com",
|
||||
url: 'http://vic-user.bittic.org'
|
||||
},
|
||||
vultr: {
|
||||
targetType: "ssh",
|
||||
host: "vic-user.bittic.org",
|
||||
targetPath: "/faronear/tuc-vic/vic.user.react",
|
||||
targetDir: "dist",
|
||||
user: "adot",
|
||||
password: "",
|
||||
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
|
||||
},
|
||||
unicloud: {
|
||||
targetType: "serverless",
|
||||
space: "cn-bittic-vic-user",
|
||||
url: "http://vic-user.bittic.cn",
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user