Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
89edc1f1
Commit
89edc1f1
authored
Mar 29, 2019
by
Robert Czechowski
Browse files
Update .gitlab-ci.yml: Add Deploy (WIP)
parent
b107142c
Pipeline
#45
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
89edc1f1
...
...
@@ -42,9 +42,9 @@ deploy_staging:
environment
:
name
:
staging
script
:
-
ssh medald@jim.test.bwinf.de "s
ervice medald stop
&& exit"
-
scp target/release/medal medald@jim.test.bwinf.de
:
-
ssh medald@jim.test.bwinf.de "s
ervice medald start
&& exit"
-
ssh medald@jim.test.bwinf.de "s
udo /bin/systemctl stop medal
&& exit"
-
"
scp
target/release/medal
medald@jim.test.bwinf.de:
medal/"
-
ssh medald@jim.test.bwinf.de "s
udo /bin/systemctl start medal
&& exit"
only
:
-
master
...
...
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