diff --git a/bin/compile b/bin/compile index 11e3bff..7a98a4e 100755 --- a/bin/compile +++ b/bin/compile @@ -37,7 +37,8 @@ git remote add origin "$GIT_REPO_URL" # install the ssh key mkdir -p ~/.ssh ssh-keyscan -H github.com >> ~/.ssh/known_hosts 2> /dev/null -cat "$ENV_DIR/GIT_SSH_KEY" > ~/.ssh/id_rsa +cp "$ENV_DIR/GIT_SSH_KEY" ~/.ssh/id_rsa +echo >> ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa # ignore/hide ssh warnings