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
e731712d
Commit
e731712d
authored
Oct 18, 2019
by
Robert Czechowski
Browse files
Change hostname of deploy server in gitlab ci config
parent
3805c35b
Pipeline
#233
passed with stages
in 11 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e731712d
...
...
@@ -77,11 +77,11 @@ deploy:
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
# Stop server and upload
-
ssh medald@
2a01:4f8:c2c:e9a7::1
"sudo /bin/systemctl stop medal && exit"
-
"
scp
target/release/medal
medald@j
im.test.b
winf.de:medal/"
-
"
scp
-r
migrations
static
templates
medald@j
im.test.b
winf.de:medal/"
-
"
scp
-r
tasks/jwinf/wrapper.html
medald@j
im.test.b
winf.de:medal/tasks/jwinf/"
-
ssh medald@
2a01:4f8:c2c:e9a7::1
"sudo /bin/systemctl start medal && exit"
-
ssh medald@
jwinf.de
"sudo /bin/systemctl stop medal && exit"
-
"
scp
target/release/medal
medald@jwinf.de:medal/"
-
"
scp
-r
migrations
static
templates
medald@jwinf.de:medal/"
-
"
scp
-r
tasks/jwinf/wrapper.html
medald@jwinf.de:medal/tasks/jwinf/"
-
ssh medald@
jwinf.de
"sudo /bin/systemctl start medal && exit"
only
:
-
deploy
...
...
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