This commit is contained in:
parent
4c699961ad
commit
e53ee2c5fa
2
Makefile
2
Makefile
|
@ -19,7 +19,9 @@ deploy:
|
||||||
then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \
|
then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
env
|
||||||
mkdir -p ~/.ssh/
|
mkdir -p ~/.ssh/
|
||||||
|
echo mkdir -p ~/.ssh/
|
||||||
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"
|
||||||
|
|
Loading…
Reference in a new issue