feat: 优化
Some checks failed
Build and Deploy / deploy (push) Has been cancelled

This commit is contained in:
2026-03-21 23:39:53 +08:00
parent 7c62ae4937
commit 056a72291d

View File

@@ -59,9 +59,7 @@ deploy_backend() {
exit 1
fi
log "3. 准备启动 JAR..."
mkdir -p $BACKEND_DIR/backup
[ -f "$BACKEND_DIR/$BACKEND_JAR_NAME" ] && cp $BACKEND_DIR/$BACKEND_JAR_NAME $BACKEND_DIR/backup/server-$(date +%H%M).jar
log "3. 复制 JAR..."
cp $PROJECT_DIR/yudao-server/target/$BACKEND_JAR_NAME $BACKEND_DIR/
log "4. 重启服务..."