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
35a93e4f
Commit
35a93e4f
authored
Mar 29, 2019
by
Robert Czechowski
Browse files
Update .gitlab-ci.yml (Works now?)
parent
4f2c5bae
Pipeline
#47
passed with stages
in 8 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
35a93e4f
...
...
@@ -30,11 +30,7 @@ pages:
stage
:
doc
script
:
-
cargo doc --no-deps
-
mv target/doc public
-
echo '<meta http-equiv="refresh" content="0; url=citest">' > public/index.html
artifacts
:
paths
:
-
public
-
echo '<meta http-equiv="refresh" content="0; url=citest">' > target/doc/index.html
only
:
-
master
...
...
@@ -50,6 +46,8 @@ deploy:
script
:
-
ssh medald@jim.test.bwinf.de "sudo /bin/systemctl stop medal && exit"
-
"
scp
target/release/medal
medald@jim.test.bwinf.de:medal/"
-
"
scp
-r
migrations
static
templates
medald@jim.test.bwinf.de:medal/"
-
"
scp
-r
target/doc
medald@jim.test.bwinf.de:medal/"
-
ssh medald@jim.test.bwinf.de "sudo /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