Commit e731712d authored by Robert Czechowski's avatar 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
......@@ -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@jim.test.bwinf.de:medal/"
- "scp -r migrations static templates medald@jim.test.bwinf.de:medal/"
- "scp -r tasks/jwinf/wrapper.html medald@jim.test.bwinf.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
......
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