From 883faf813fc71be35f83e400378ec82163a62462 Mon Sep 17 00:00:00 2001 From: hucs Date: Wed, 5 Jun 2024 17:54:44 +0800 Subject: [PATCH] fix --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 18e97ba..b9606a8 100644 --- a/deploy.sh +++ b/deploy.sh @@ -2,7 +2,7 @@ # 发包脚本 set -e echo "发布开始,当前时间是:$current_time" -#mvn clean install +mvn clean install scp ./play-admin/target/play-admin-1.0.jar root@122.51.20.105:/www/wwwroot/july.hucs.top ssh root@122.51.20.105 "source /etc/profile;cd /www/wwwroot/july.hucs.top;sh start.sh restart" # 获取当前时间并格式化为指定格式