fixup! e53ee2c5fa
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bruno BELANYI 2021-08-08 17:51:09 +02:00
parent e53ee2c5fa
commit a10936a7ba

View file

@ -21,7 +21,7 @@ deploy:
fi fi
env env
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
echo mkdir -p ~/.ssh/ touch ~/.ssh/known_hosts
ssh-keygen -R "$$SSH_HOST" ssh-keygen -R "$$SSH_HOST"
ssh-keyscan "$$SSH_HOST" >> ~/.ssh/known_hosts ssh-keyscan "$$SSH_HOST" >> ~/.ssh/known_hosts
rsync -e "ssh -o StrictHostKeyChecking=no" --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$SSH_TARGET" rsync -e "ssh -o StrictHostKeyChecking=no" --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$SSH_TARGET"