Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
td1518
simplewebapp
Commits
e4afe5ee
Commit
e4afe5ee
authored
Jan 17, 2020
by
expectocode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce downtime on new deploys
parent
419e870b
Pipeline
#113566
passed with stages
in 4 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
e4afe5ee
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment