Compare commits
2 commits
a10936a7ba
...
ff6f01534e
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | ff6f01534e | ||
Bruno BELANYI | 55d455cc6e |
3
Makefile
3
Makefile
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue