Skip to content

Commit

Permalink
remove obsolete ssh key voodoo
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Nov 5, 2019
1 parent 32cb9bf commit 8aa6a46
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .circleci/ci-publish.sh
@@ -1,12 +1,6 @@
#!/usr/bin/env bash

# Configure GIT with host fingerprint, user info and SSH key for pushing
# mkdir -p ~/.ssh
# echo "Adding github.com as known host..."
# echo $GITHUB_FINGERPRINT >> ~/.ssh/known_hosts
# echo "Setting private SSH key for pushing new version to repo..."
# echo $GITHUB_COMMIT_KEY | base64 --decode >> ~/.ssh/id_rsa
# chmod 400 ~/.ssh/id_rsa # prevents "UNPROTECTED PRIVATE KEY FILE" error
# Configure GIT with user info for pushing
git config user.name "$GITHUB_USERNAME"
git config user.email "$GITHUB_EMAIL"

Expand Down

0 comments on commit 8aa6a46

Please sign in to comment.