From 83c373bcfccbb33333ddf684f83545e8d7f635c6 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Sun, 5 Sep 2021 13:46:51 +0800 Subject: [PATCH] seperate to ConfigDeploy.js --- ConfigBasic.js | 9 --------- ConfigDeploy.js | 11 +++++++++++ 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 ConfigDeploy.js diff --git a/ConfigBasic.js b/ConfigBasic.js index e9477e5..435afc1 100644 --- a/ConfigBasic.js +++ b/ConfigBasic.js @@ -14,13 +14,4 @@ module.exports={ sslCA: '/etc/letsencrypt/live/server.vic.yuanjin.net/bundle.pem', // ssl ca file, }, - 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`, // 登录用户私钥文件 - }, } \ No newline at end of file diff --git a/ConfigDeploy.js b/ConfigDeploy.js new file mode 100644 index 0000000..5655d60 --- /dev/null +++ b/ConfigDeploy.js @@ -0,0 +1,11 @@ +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`, // 登录用户私钥文件 + }, +} \ No newline at end of file