diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 589e6b9..1407b77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,7 @@ deploy-staging: - scp -r static $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/ - scp -r templates $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/ - scp -r svelte $SSH_USER@$SSH_HOST:/home/k004373/rowing-staging/ - - ssh $SSH_USER@$SSH_HOST 'sudo systemctl restart rotstaging' + - ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rotstaging' only: - staging @@ -58,6 +58,6 @@ deploy-main: - scp -r static $SSH_USER@$SSH_HOST:/home/k004373/rowing/ - scp -r templates $SSH_USER@$SSH_HOST:/home/k004373/rowing/ - scp -r svelte $SSH_USER@$SSH_HOST:/home/k004373/rowing/ - - ssh $SSH_USER@$SSH_HOST 'sudo systemctl restart rot' + - ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rot' only: - main