Commit c79b773c authored by Robert Czechowski's avatar Robert Czechowski

Deploy documention

parent 67bee9be
......@@ -33,6 +33,7 @@ documentation:
- make doc
only:
- master
- deploy
build:
stage: build
......@@ -56,7 +57,7 @@ testdeploy:
# Stop server and upload
- ssh medald@jim.test.bwinf.de "sudo /bin/systemctl stop medal && sudo /bin/systemctl stop medalp && sudo /bin/systemctl stop medal-nachtermin"
- "scp target/release/medal medald@jim.test.bwinf.de:medal/"
- "scp -r migrations static templates export medald@jim.test.bwinf.de:medal/"
- "scp -r migrations static templates export target/doc medald@jim.test.bwinf.de:medal/"
- "scp -r tasks/jwinf/wrapper.html medald@jim.test.bwinf.de:medal/tasks/jwinf/"
- ssh medald@jim.test.bwinf.de "sudo /bin/systemctl start medal && sudo /bin/systemctl start medalp && sudo /bin/systemctl start medal-nachtermin"
only:
......@@ -77,7 +78,7 @@ deploy:
# Stop server and upload
- ssh medald@jwinf.de "sudo /bin/systemctl stop medal && sudo /bin/systemctl stop medal1"
- "scp target/release/medal medald@jwinf.de:medal/"
- "scp -r migrations static templates export medald@jwinf.de:medal/"
- "scp -r migrations static templates export target/doc 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 && sudo /bin/systemctl start medal1"
only:
......
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