54 Commits

Author SHA1 Message Date
d8822ee158 Update version information in HTML page
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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配置 2024-11-04 18:29:22 +08:00
5d2e60c108 补充完整的actions配置 2024-11-04 18:28:58 +08:00
93f5e58257 补充完整的actions配置 2024-11-04 18:25:41 +08:00
ecbc72465f 补充完整的actions配置 2024-11-04 18:24:06 +08:00
f4e1b2f81a 补充完整的actions配置 2024-11-04 18:20:55 +08:00
311be8c2eb 补充完整的actions配置 2024-11-04 18:17:23 +08:00
1ba7b55e0b 补充完整的actions配置 2024-11-04 18:11:43 +08:00
8ad67c6a43 devops各步骤使用中文 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各步骤使用中文 2024-11-04 17:06:10 +08:00
07c87029db devops各步骤使用中文 2024-11-04 17:05:38 +08:00
bd339b928f devops各步骤使用中文 2024-11-04 17:01:51 +08:00
3c5a3b4c27 重新使用密码方式远程部署 2024-11-04 16:57:00 +08:00
fa5166e7fc 重新使用密码方式远程部署 2024-11-04 16:48:41 +08:00
afcefe40a8 指定打包时的maven版本 2024-11-04 16:38:21 +08:00
fa09874fe0 指定打包时的maven版本 2024-11-04 16:33:38 +08:00
467b0c1086 指定打包时的maven版本 2024-11-04 15:27:48 +08:00
1eca6e7bcf 指定打包时的maven版本 2024-11-04 15:14:00 +08:00
80dc2001de actions编译部署接入测试 2024-11-04 15:06:36 +08:00
a8850ad8a6 移除action runner中的node节点 2024-11-04 14:54:39 +08:00
20aebe0888 移除action runner中的node节点 2024-11-04 14:41:11 +08:00
8271a560fd 移除action runner中的node节点 2024-11-04 14:02:03 +08:00
5048765b98 action测试 2024-11-04 13:52:15 +08:00
4695c1929d action测试 2024-11-04 13:44:51 +08:00
50f9e6194b action测试 2024-11-04 13:41:04 +08:00
9d0724a5a4 action测试 2024-11-04 12:14:21 +08:00
396aaec657 action测试 2024-11-04 11:07:23 +08:00
5b25a2db6c action测试 2024-11-04 11:04:29 +08:00
929740a50e 为checkout设置node环境 2024-11-04 11:01:20 +08:00
8a5661d88b 为checkout设置node环境 2024-11-04 10:58:17 +08:00
7ce5b0c1d6 为checkout设置node环境 2024-11-04 10:57:46 +08:00
90d6c1fa75 修改actions监听的分支名为master 2024-11-04 10:52:45 +08:00