Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
90240028
Commit
90240028
authored
Mar 08, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 0318 ssh upload
parent
065438ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
env.js
env.js
+19
-1
package.json
package.json
+1
-0
No files found.
env.js
View file @
90240028
...
...
@@ -205,6 +205,24 @@ module.exports = {
BACK_GATEWAY
:
'http://10.0.0.27:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.27:9880'
,
YAPI_URL
:
'http://10.0.0.25:4000/'
YAPI_URL
:
'http://10.0.0.25:4000/'
,
// 注 交付中心同事可不使用下面的ssh配置
ssh
:
JSON
.
stringify
({
user
:
"root"
,
// Password optional, prompted if none given
password
:
"SsyLingxi@test666"
,
host
:
"10.0.0.27"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/home/www/platform/dist/"
,
// include: ["*", "**/*"], // this would upload everything except dot files
include
:
[
"*"
],
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
// exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true
deleteRemote
:
true
,
// Passive mode is forced (EPSV command is not sent)
forcePasv
:
true
})
}
}
package.json
View file @
90240028
...
...
@@ -7,6 +7,7 @@
"upload:25"
:
"cross-env PRO_ENV=25 taskName=upload yarn scripts:build"
,
"upload:study"
:
"cross-env PRO_ENV=study taskName=upload yarn scripts:build"
,
"upload:v2"
:
"cross-env PRO_ENV=v2 taskName=upload yarn scripts:build"
,
"upload:v2-0318"
:
"cross-env PRO_ENV=v2-0318 taskName=upload yarn scripts:build"
,
"upload:v2Preview"
:
"cross-env PRO_ENV=v2Preview taskName=upload yarn scripts:build"
,
"upload:v2-demo"
:
"cross-env PRO_ENV=v2-demo taskName=upload yarn scripts:build"
,
"upload:v2scm"
:
"cross-env PRO_ENV=v2scm taskName=upload yarn scripts:build"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment