diff options
author | Varac <varac@leap.se> | 2017-07-19 18:10:53 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-10-16 13:20:45 +0200 |
commit | a903156109a4b93ddb3bcd6fb1401f92f88056eb (patch) | |
tree | a11cb3c1ec5c968dfc3357d95a1292e149a19b6d /.gitlab-ci.yml | |
parent | d1238e27e1f7cd846fc698b59b5ad042c3c2217b (diff) |
Use proper systemd user service for dashboard
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
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. |