Fix line break on deploy script
This commit is contained in:
parent
e09397e3e8
commit
07756f8994
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue