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:
gitlab-deploy:
stage: deploy
script:
- 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
artifacts:
......
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