From 6340da1fae53ad444149d43cad93d6deac7adf36 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 29 Oct 2020 19:21:52 -0700 Subject: [PATCH] no longer using sshpass since the vps no longer accepts passwords --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a56894..2ae7c9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,5 +11,5 @@ deploy: script: - bash ./build.sh - echo the next item will fail - - sshpass -p $SHH_PASS ssh "rm -rf /var/www/website" - - sshpass -p $SSH_PASS scp -o StrictHostKeyChecking=no -r .mirror root@shockrah.xyz:/var/www/website/ + - ssh root@shockrah.xyz "rm -rf /var/www/website" + - scp -o StrictHostKeyChecking=no -r .mirror root@shockrah.xyz:/var/www/website/