Commit 35a93e4f authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Update .gitlab-ci.yml (Works now?)

parent 4f2c5bae
Pipeline #47 passed with stages
in 8 minutes and 34 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment