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
d6db582e
Commit
d6db582e
authored
Oct 23, 2019
by
Robert Czechowski
Browse files
Merge branch 'deploy'
parents
7f763517
e731712d
Pipeline
#238
passed with stages
in 19 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d6db582e
...
...
@@ -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