Commit e4afe5ee authored by expectocode's avatar expectocode

Reduce downtime on new deploys

parent 419e870b
Pipeline #113566 passed with stages
in 4 minutes and 18 seconds
......@@ -16,8 +16,8 @@ test:
stage: deploy
- systemctl --user stop simple-webapp.service
- mvn package
- systemctl --user stop simple-webapp.service
- cp -r target/ /home/gitlab-runner/simple-webapp-deploy/target
- systemctl --user start simple-webapp.service
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment