54 Commits

Author SHA1 Message Date
d8822ee158 Update version information in HTML page
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 41s
Changed the description of the HTML page to include version "v1.0", indicating the first release. This helps in tracking changes and versions more effectively.
2024-11-04 20:04:29 +08:00
6ab557434a Update command for running JAR in screen session
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 54s
The command for running the JAR file within a screen session has been updated to use a single line for better readability and maintainability. This change ensures that the log redirection is correctly applied.
2024-11-04 20:00:19 +08:00
1df87052bd Fix screen command syntax in build-deploy workflow
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 43s
The command to start the application via `screen` was updated to use single quotes around the entire command, ensuring that all parts of the command are correctly interpreted. This change helps in avoiding potential issues with spaces or special characters in the paths.
2024-11-04 19:57:46 +08:00
dab560fa12 Update Java application startup command
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 43s
Simplify the screen command to directly run the Java application, removing the unnecessary `base -c` and `nohup` parts. This change ensures a cleaner and more straightforward execution.
2024-11-04 19:55:40 +08:00
66e91e80e3 Simplify deployment script
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 42s
Removed unnecessary `screen -ls` commands and a sleep delay to streamline the deployment process, making it more efficient.
2024-11-04 19:07:57 +08:00
e0e7120294 Remove skip configuration from pom.xml
This change removes the `<skip>true</skip>` configuration, ensuring that the application is not skipped during the build process.
2024-11-04 19:07:24 +08:00
34482f7c4a Add additional screen list check
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 55s
An extra `screen -ls` command has been added after the sleep to ensure the screen session status is checked again, providing a double verification.
2024-11-04 19:01:01 +08:00
a62ef5dad4 Fix sleep command syntax
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 53s
Correct the syntax of the `sleep` command from `sleep(20)` to `sleep 20` to ensure the script runs as expected.
2024-11-04 18:59:14 +08:00
6f030087bd Add sleep and exit commands to deployment script
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 33s
This change introduces a 20-second sleep after starting the application, followed by an explicit exit command to ensure the script completes properly.
2024-11-04 18:57:53 +08:00
42fee53e0b Update deployment script to use nohup for background execution
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 33s
Changed the command to start the application using `nohup` within a `screen` session to ensure it runs in the background and logs both stdout and stderr. This change helps in maintaining the process even if the terminal session is closed.
2024-11-04 18:51:34 +08:00
52e400c6f3 Add screen -ls commands to build-deploy workflow
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 34s
This change adds `screen -ls` commands before and after starting the Java application to list active screen sessions, which can help in debugging and monitoring.
2024-11-04 18:46:50 +08:00
7d2984b5e7 Fix screen session name and log path
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 33s
Corrected the screen session naming to avoid issues with spaces and updated the log file path for better organization.
2024-11-04 18:43:54 +08:00
176d550072 Fix screen session name in deployment script
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 34s
Corrected the screen session name by adding missing quotes to ensure it is properly recognized and managed during the application deployment.
2024-11-04 18:41:21 +08:00
c59a3817a8 Add logging for application startup
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 34s
The change redirects the output of the Java application to a log file named `apprun.log` for better tracking and debugging.
2024-11-04 18:38:45 +08:00
4a13ef8677 Ensure screen command always succeeds
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 32s
Modified the `screen` command to append `; true` ensuring the step does not fail even if no screen session is found, thus making the workflow more robust.
2024-11-04 18:36:26 +08:00
76cc99fae8 Ensure screen command always succeeds
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 34s
Modified the `screen` command to append `; true` ensuring the step does not fail even if no screen session is found, thus making the workflow more robust.
2024-11-04 18:34:08 +08:00
0f5a67079e Update screen session name variable
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 32s
Change the screen session name from `JAR_NAME` to `APP_NAME` in the build-deploy workflow to ensure consistency with the application naming convention.
2024-11-04 18:31:48 +08:00
bae94f9f73 补充完整的actions配置
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 30s
2024-11-04 18:29:22 +08:00
5d2e60c108 补充完整的actions配置 2024-11-04 18:28:58 +08:00
93f5e58257 补充完整的actions配置
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 30s
2024-11-04 18:25:41 +08:00
ecbc72465f 补充完整的actions配置
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 31s
2024-11-04 18:24:06 +08:00
f4e1b2f81a 补充完整的actions配置
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 31s
2024-11-04 18:20:55 +08:00
311be8c2eb 补充完整的actions配置
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 31s
2024-11-04 18:17:23 +08:00
1ba7b55e0b 补充完整的actions配置
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 22s
2024-11-04 18:11:43 +08:00
8ad67c6a43 devops各步骤使用中文
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 23s
2024-11-04 18:08:18 +08:00
f9277e9443 devops各步骤使用中文 2024-11-04 18:03:47 +08:00
77fe8be4a6 devops各步骤使用中文 2024-11-04 18:03:20 +08:00
e5471c27dc devops各步骤使用中文
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 28s
2024-11-04 17:06:10 +08:00
07c87029db devops各步骤使用中文
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 1s
2024-11-04 17:05:38 +08:00
bd339b928f devops各步骤使用中文
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 1s
2024-11-04 17:01:51 +08:00
3c5a3b4c27 重新使用密码方式远程部署
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 30s
2024-11-04 16:57:00 +08:00
fa5166e7fc 重新使用密码方式远程部署
Some checks are pending
Build and Deploy Spring Boot / build-and-deploy (push) Waiting to run
2024-11-04 16:48:41 +08:00
afcefe40a8 指定打包时的maven版本
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 23s
2024-11-04 16:38:21 +08:00
fa09874fe0 指定打包时的maven版本
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 36s
2024-11-04 16:33:38 +08:00
467b0c1086 指定打包时的maven版本
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 48m56s
2024-11-04 15:27:48 +08:00
1eca6e7bcf 指定打包时的maven版本
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 5m32s
2024-11-04 15:14:00 +08:00
80dc2001de actions编译部署接入测试
Some checks failed
Build and Deploy Spring Boot / build-and-deploy (push) Failing after 1m33s
2024-11-04 15:06:36 +08:00
a8850ad8a6 移除action runner中的node节点
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 53s
2024-11-04 14:54:39 +08:00
20aebe0888 移除action runner中的node节点
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 11s
2024-11-04 14:41:11 +08:00
8271a560fd 移除action runner中的node节点
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2s
2024-11-04 14:02:03 +08:00
5048765b98 action测试
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2s
2024-11-04 13:52:15 +08:00
4695c1929d action测试
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
2024-11-04 13:44:51 +08:00
50f9e6194b action测试
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s
2024-11-04 13:41:04 +08:00
9d0724a5a4 action测试
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
2024-11-04 12:14:21 +08:00
396aaec657 action测试
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2s
2024-11-04 11:07:23 +08:00
5b25a2db6c action测试
Some checks failed
Build SpringBoot and Notify / build (push) Failing after 3s
2024-11-04 11:04:29 +08:00
929740a50e 为checkout设置node环境
Some checks failed
Build SpringBoot and Notify / build (push) Failing after 4s
2024-11-04 11:01:20 +08:00
8a5661d88b 为checkout设置node环境
Some checks failed
Build SpringBoot and Notify / build (push) Failing after 35s
2024-11-04 10:58:17 +08:00
7ce5b0c1d6 为checkout设置node环境 2024-11-04 10:57:46 +08:00
90d6c1fa75 修改actions监听的分支名为master
Some checks failed
Build SpringBoot and Notify / build (push) Failing after 48s
2024-11-04 10:52:45 +08:00