From d334e575b41de6daff978682ca58041b5b9f462c Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 30 Jul 2023 17:28:50 +0200 Subject: [PATCH] push --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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