Commit 89edc1f1 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Update .gitlab-ci.yml: Add Deploy (WIP)

parent b107142c
Pipeline #45 failed
......@@ -42,9 +42,9 @@ deploy_staging:
environment:
name: staging
script:
- ssh medald@jim.test.bwinf.de "service medald stop && exit"
- scp target/release/medal medald@jim.test.bwinf.de:
- ssh medald@jim.test.bwinf.de "service medald start && exit"
- ssh medald@jim.test.bwinf.de "sudo /bin/systemctl stop medal && exit"
- "scp target/release/medal 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