diff --git a/Makefile b/Makefile index e2b0db4..97bb2be 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,9 @@ deploy: then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \ exit 1; \ fi + env mkdir -p ~/.ssh/ + echo mkdir -p ~/.ssh/ ssh-keygen -R "$$SSH_HOST" ssh-keyscan "$$SSH_HOST" >> ~/.ssh/known_hosts rsync -e "ssh -o StrictHostKeyChecking=no" --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$SSH_TARGET"