Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
linweijiong
jinfa-admin
Commits
6abb7e58
Commit
6abb7e58
authored
Sep 22, 2021
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-uat' into v2
parents
0ab6845b
2190ed09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
env.js
env.js
+23
-0
package.json
package.json
+2
-0
No files found.
env.js
View file @
6abb7e58
...
...
@@ -140,4 +140,27 @@ module.exports = {
forcePasv
:
true
})
},
v2Test
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://lx-pre-gateway.shushangyun.com'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://lx-pre-gateway.shushangyun.com'
,
ssh
:
JSON
.
stringify
({
user
:
"www"
,
// Password optional, prompted if none given
password
:
"Shushangyun520"
,
host
:
"120.24.6.245"
,
port
:
22
,
localRoot
:
path
.
resolve
(
'./dist/'
),
remoteRoot
:
"/usr/local/nginx/html/admin/"
,
// 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 @
6abb7e58
...
...
@@ -9,6 +9,7 @@
"upload:v2"
:
"cross-env local=v2 taskName=upload yarn scripts:build"
,
"upload:v2Preview"
:
"cross-env local=v2Preview taskName=upload yarn scripts:build"
,
"upload:study"
:
"cross-env local=study taskName=upload yarn scripts:build"
,
"upload:v2Test"
:
"cross-env local=v2Test taskName=upload yarn scripts:build"
,
"api"
:
"god-ytt"
,
"start:analyze"
:
"ANALYZE=1 umi dev"
,
"scripts:build"
:
"node scripts/run"
,
...
...
@@ -27,6 +28,7 @@
"build:v2Preview"
:
"cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.220:8100 SOCKET_URL=ws://10.0.1.220:9400 yarn build"
,
"build:25"
:
"cross-env SITE_ID=352 BACK_GATEWAY=http://10.0.0.25:8100 SOCKET_URL=ws://10.0.0.25:9400 yarn build"
,
"build:study"
:
"cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.1.207:8100 SOCKET_URL=ws://10.0.1.207:9400 yarn build"
,
"build:v2Test"
:
"cross-env SITE_ID=1 BACK_GATEWAY=http://lx-pre-gateway.shushangyun.com USE_ROUTE_CONFIG=false SOCKET_URL=ws://lx-pre-gateway.shushangyun.com yarn build"
,
"postinstall"
:
"umi generate tmp"
,
"prettier"
:
"prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'"
,
"test"
:
"umi-test"
,
...
...
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