Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
7f480a88
Commit
7f480a88
authored
Jul 29, 2018
by
Junling Bu
Browse files
chore[project]: 暂时取消.gitlab-ci.yml支持
parent
83fbfca3
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
deleted
100644 → 0
View file @
83fbfca3
stages
:
-
deploy
deploy
:
stage
:
deploy
script
:
-
mvn install
-
mvn clean package
-
rm -rf /root/spring_boot/*.jar
-
rm -rf /etc/init.d/litemall-*
-
cp -rf litemall-admin-api/target/litemall-admin-api-*-exec.jar /root/spring_boot/litemall-admin-api.jar
-
cp -rf litemall-wx-api/target/litemall-wx-api-*-exec.jar /root/spring_boot/litemall-wx-api.jar
-
sudo chmod 777 /root/spring_boot/*.jar
-
sudo ln -f -s /root/spring_boot/litemall-admin-api.jar /etc/init.d/litemall-admin-api
-
sudo ln -f -s /root/spring_boot/litemall-wx-api.jar /etc/init.d/litemall-wx-api
-
sudo /etc/init.d/litemall-wx-api restart
-
sudo /etc/init.d/litemall-admin-api restart
-
systemctl stop nginx
-
rm -rf /root/nginx_web/
-
cd litemall-admin
-
cnpm install
-
cnpm run build:dep
-
mkdir /root/nginx_web
-
cp -rf dist/* /root/nginx_web
-
sudo chmod 777 /root/nginx_web
-
systemctl restart nginx
tags
:
-
litemall_dev
\ No newline at end of file
Write
Preview
Supports
Markdown
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