From aae9730ee1e60655b652aa1c2a44742d109c7980 Mon Sep 17 00:00:00 2001 From: Marcelo Fabri Date: Wed, 5 Aug 2020 15:20:45 -0700 Subject: [PATCH] Fix Jazzy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t try to create ~/.ssh if it already exists --- script/push-docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/push-docs b/script/push-docs index e7e4b22eb..4c9e090e7 100755 --- a/script/push-docs +++ b/script/push-docs @@ -1,6 +1,6 @@ #!/bin/bash -mkdir ~/.ssh && mv $DOWNLOADSECUREFILE_SECUREFILEPATH ~/.ssh/id_rsa +mkdir -p ~/.ssh && mv $DOWNLOADSECUREFILE_SECUREFILEPATH ~/.ssh/id_rsa chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts