From d1787d3df1925f10734f6fa1d82421340089b9ee Mon Sep 17 00:00:00 2001 From: Alexandru Date: Thu, 15 Aug 2024 10:15:05 +0300 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cdb4a3..3a404d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ upload: - echo "$PRIVKEY" | base64 -d > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts - - rsync -avzh ./public/ -e "ssh -i ~/.ssh/id_rsa -p 69" root@107.189.28.28:/var/www/fzorb.xyz - - ssh -i ~/.ssh/id_rsa -p 69 root@107.189.28.28 "chmod 755 -R /var/www/fzorb.xyz" + - rsync -avzh ./public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/var/www/fzorb.xyz + - ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "chmod 755 -R /var/www/fzorb.xyz" only: - main