Skip to content

Commit

Permalink
Merge pull request #5 from platterz/master
Browse files Browse the repository at this point in the history
Ensure SSH keys are Copied with Correct Formatting
  • Loading branch information
Photonios committed Jan 16, 2019
2 parents f9c78ef + db8e1f0 commit e014725
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/compile
Expand Up @@ -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
Expand Down

0 comments on commit e014725

Please sign in to comment.