diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 7f4fd31..d61b7f0 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -3,10 +3,5 @@ mkdir ~/.ssh && echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas && chmod 400 ~/.ssh/id_rsa_ifsalas && -echo -e " - Host ifsalas\n\t \ - User ifsalas\n\t \ - Hostname 45.76.5.44\n\t \ - IdentityFile ~/.ssh/id_rsa_ifsalas\n\t \ - StrictHostKeyChecking No" >> ~/.ssh/config && +echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_rsa_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config && rsync -avz --progress build/ ifsalas:/home/ifsalas/web/$1 --delete