清洁代码
This commit is contained in:
parent
8017b7a4e1
commit
5b86f3e9a0
|
@ -1,2 +1,3 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
|
test
|
||||||
|
|
|
@ -73,3 +73,4 @@ fabric.properties
|
||||||
.idea/caches/build_file_checksums.ser
|
.idea/caches/build_file_checksums.ser
|
||||||
.idea
|
.idea
|
||||||
.idea/*
|
.idea/*
|
||||||
|
test
|
2
LICENSE
2
LICENSE
|
@ -1,5 +1,5 @@
|
||||||
ISC License (ISC)
|
ISC License (ISC)
|
||||||
Copyright 2020 bgwd666;Modified Copyright 2020 Keifer Ju
|
Copyright 2023 Keifer Ju
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
module.exports = Object.freeze({
|
|
||||||
development: {//测试
|
|
||||||
SERVER_HOST: 'dllcnx.com', // ssh地址 服务器地址
|
|
||||||
USER: 'jukaifeng', // ssh 用户名
|
|
||||||
//方式一 用秘钥登录服务器(推荐), private 本机私钥文件地址(需要在服务器用户目录 一般是 /root/.ssh/authorized_keys 配置公钥 并该文件权限为 600, (.ssh文件夹一般默认隐藏)
|
|
||||||
// PRIVATE_KEY: 'C:/Users/Html5/.ssh/id_rsa',
|
|
||||||
PASSWORD: '9BfvGRhZ1PW2JHa+YJc9vg==', //方式二 用密码连接服务器
|
|
||||||
REMOTE_ROOT: '/web/test/', // 需要上传的服务器目录地址 如 /usr/local/nginx/html
|
|
||||||
LOCAL_PATH: "dist", // 需要上传文件夹路径,默认dist
|
|
||||||
PORT: 5521,
|
|
||||||
TYPE: "ftp", // ftp,sftp,ssh 模认ssh
|
|
||||||
FTP_CONFIG:{
|
|
||||||
DELETE_REMOTE: true,
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
|
||||||
production: {//正式
|
|
||||||
SERVER_HOST: '172.17.13.31',
|
|
||||||
USER: 'root',
|
|
||||||
//方式一 用秘钥登录服务器(推荐), private 本机私钥文件地址(需要在服务器用户目录 一般是 /root/.ssh/authorized_keys 配置公钥 并该文件权限为 600, (.ssh文件夹一般默认隐藏)
|
|
||||||
// PRIVATE_KEY: 'C:/Users/Html5/.ssh/id_rsa',
|
|
||||||
PASSWORD: 'PR84ODUE3d1w1pTkqmJRog==',
|
|
||||||
REMOTE_ROOT: '/var/local/llcn', // 需要上传的服务器目录地址 如 /usr/local/nginx/html
|
|
||||||
LOCAL_PATH: './dist/', // 需要上传文件夹路径,默认dist
|
|
||||||
PORT: 22,
|
|
||||||
SSH_CONFIG: {
|
|
||||||
BACKUP: true,
|
|
||||||
BUILD_SHELL: "npm run build",
|
|
||||||
DELETE_LOCAL_PACKAGE: true,
|
|
||||||
EXTENDS: ['cd /var/local', 'mkdir ex']
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
})
|
|
Loading…
Reference in New Issue