From e53ee2c5fa2421d6d5ccab9df5de2f82f3bf1c2f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:45:21 +0200 Subject: [PATCH] WIP --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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"