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/