summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab245e1..37a6059 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,7 @@ deploy:
environment:
name: production
script:
- - ssh dashboard@hare.leap.se "cd dashboard ; git pull"
- - ssh dashboard@hare.leap.se "cd dashboard ; source credentials && bin/dashing stop ; bin/dashing start"
+ - ssh dashboard@hare.leap.se "cd ~/dashboard ; git pull; systemctl --user restart dashboard.service"
before_script:
# https://docs.gitlab.com/ce/ci/ssh_keys/README.html
# Install ssh-agent if not already installed, it is required by Docker.