Files
vic-user-react/envar-deploy.js
2022-07-21 21:03:52 +08:00

29 lines
736 B
JavaScript

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: '',
privateKey: `${process.env.HOME}/.ssh/id_rsa`,
},
unicloud: {
targetType: 'serverless',
space: 'cn-bittic-vic-user',
url: 'http://vic-user.bittic.cn',
},
},
}