Compare commits

..

2 commits

Author SHA1 Message Date
Bruno BELANYI ff6f01534e fixup! fixup! e53ee2c5fa
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-08 17:53:15 +02:00
Bruno BELANYI 55d455cc6e fixup! e53ee2c5fa 2021-08-08 17:53:15 +02:00

View file

@ -19,10 +19,9 @@ deploy:
then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \
exit 1; \
fi
env
mkdir -p ~/.ssh/
touch ~/.ssh/known_hosts
ssh-keygen -R "$$SSH_HOST"
ssh-keygen -R "$$SSH_HOST" -f ~/.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"