diff --git a/README.md b/README.md index 2c8329b..18d3dfa 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # 小海博客后端管理系统 -![CI](https://gitlab.com/xiaohai2271/blog-backEnd/badges/master/pipeline.svg) - - +![Gitlab pipeline status](https://img.shields.io/gitlab/pipeline/xiaohai2271/blog-backEnd) ![coverage report](https://gitlab.com/xiaohai2271/blog-backEnd/badges/master/coverage.svg) ![GitHub](https://img.shields.io/github/license/xiaohai2271/blog-backEnd) [![Website](https://img.shields.io/website?up_message=%E5%B0%8F%E6%B5%B7%E5%8D%9A%E5%AE%A2&url=https%3A%2F%2Fwww.celess.cn)](https://www.celess.cn) ## 基于Springboot的后端博客管理系统 diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..d8d463c --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/sh +echo "查询已存在进程" +pgrep -af blog-0.0.1-SNAPSHOT.jar +echo "结束已存在进程" +pkill -f blog-0.0.1-SNAPSHOT.jar +echo "开始运行小海博客" +nohup java -jar -Dfile.encoding=UTF-8 blog-0.0.1-SNAPSHOT.jar >blog.log & +echo "更新结束"