测试gitea部署

This commit is contained in:
cuizhibin 2025-07-22 10:16:39 +08:00
parent 8b5b31e3a1
commit b3d8e8dbbc
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class DeployController {
@ApiOperation(value = "查询自动部署日志", httpMethod = "GET")
@GetMapping("/deployment-log")
public ResponseEntity<String> getDeploymentLog(
@RequestParam(defaultValue = "20") int lines) {
@RequestParam(defaultValue = "100") int lines) {
try {
Path logFile = Path.of(buildDir, "deploy.log");
if (!Files.exists(logFile)) {