Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
d923b99b
Commit
d923b99b
authored
Dec 15, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
b5904490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
portal-manager/src/main/bin/deploy.sh
portal-manager/src/main/bin/deploy.sh
+7
-2
No files found.
portal-manager/src/main/bin/deploy.sh
View file @
d923b99b
...
@@ -37,7 +37,8 @@ clear_deploy() {
...
@@ -37,7 +37,8 @@ clear_deploy() {
#清理后台自启服务
#清理后台自启服务
rm
-f
${
SERVICE
}
rm
-f
${
SERVICE
}
#清理执行文件目录
#清理执行文件目录
mv
${
EXECPATH
}
${
EXECPATH
}
-bak
writelog
"mv
${
EXECPATH
}
backup/
${
EXECPATH
}
"
mv
${
EXECPATH
}
backup/
${
EXECPATH
}
#rm -rf ${EXECPATH}
#rm -rf ${EXECPATH}
}
}
...
@@ -45,7 +46,7 @@ clear_deploy() {
...
@@ -45,7 +46,7 @@ clear_deploy() {
clear_ui_deploy
()
{
clear_ui_deploy
()
{
EXEC_UI_PATH
=
$1
EXEC_UI_PATH
=
$1
#rm -rf ${EXEC_UI_PATH}
#rm -rf ${EXEC_UI_PATH}
mv
${
EXEC_UI_PATH
}
${
EXEC_UI_PATH
}
-bak
mv
${
EXEC_UI_PATH
}
backup/
${
EXEC_UI_PATH
}
mkdir
-p
${
EXEC_UI_PATH
}
mkdir
-p
${
EXEC_UI_PATH
}
}
}
...
@@ -102,6 +103,10 @@ project_ui_deploy() {
...
@@ -102,6 +103,10 @@ project_ui_deploy() {
#主函数
#主函数
main
()
{
main
()
{
if
[
!
-d
$PUBLISH_PATH
/backup
]
;
then
mkdir
-p
$$
PUBLISH_PATH/backup
;
fi
echo
"后台服务部署"
echo
"后台服务部署"
project_deploy
project_deploy
echo
"前端服务部署"
echo
"前端服务部署"
...
...
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