Fix line break on deploy script

This commit is contained in:
Leonardo Murça 2022-11-01 11:37:01 -03:00
parent e09397e3e8
commit 07756f8994

View file

@ -3,10 +3,5 @@
mkdir ~/.ssh && mkdir ~/.ssh &&
echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas && echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas &&
chmod 400 ~/.ssh/id_rsa_ifsalas && chmod 400 ~/.ssh/id_rsa_ifsalas &&
echo -e " echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_rsa_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config &&
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 &&
rsync -avz --progress build/ ifsalas:/home/ifsalas/web/$1 --delete rsync -avz --progress build/ ifsalas:/home/ifsalas/web/$1 --delete