Compare commits

...

2 Commits

Author SHA1 Message Date
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
2 changed files with 0 additions and 6 deletions

View File

@ -68,9 +68,4 @@ jobs:
script: |
rm -f /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}
mv /home/tools/${{ vars.APP_NAME }}/package/target/${{ vars.JAR_NAME }} /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}
screen -ls
screen -dmS ${{ vars.APP_NAME }} base -c 'nohup /usr/local/java/jdk1.8.0_202/bin/java -jar /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }} > /home/tools/${{ vars.APP_NAME }}/apprun.log 2>&1 &'
screen -ls
sleep 20
screen -ls
exit 0

View File

@ -55,7 +55,6 @@
<version>${spring-boot.version}</version>
<configuration>
<mainClass>com.hxuanyu.giteaactiontest.GiteaActionTestApplication</mainClass>
<skip>true</skip>
</configuration>
<executions>
<execution>