diff --git a/gh-pages-deploy.sh b/gh-pages-deploy.sh index 97a790a52..4592584b7 100644 --- a/gh-pages-deploy.sh +++ b/gh-pages-deploy.sh @@ -5,6 +5,8 @@ PRIVATE_KEY="cfg/id_rsa" chmod 600 "${PRIVATE_KEY}" eval `ssh-agent -s` ssh-add "${PRIVATE_KEY}" +mkdir ~/.ssh +chmod 700 ~/.ssh ssh-keyscan github.com >> ~/.ssh/known_hosts git config user.name "Travis CI Publisher" git remote add docu "git@github.com:$TRAVIS_REPO_SLUG.git";