Skip to content

Commit

Permalink
use ssh-agent again
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Grainger committed Oct 10, 2016
1 parent 07074f7 commit 21036ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make-bower-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in id_rsa_nginfinite.enc -out deploy_key -d
chmod 600 deploy_key
eval `ssh-agent -s`
ssh-add deploy_key

BOWER_REPO='[email protected]:ng-infinite-scroll/ng-infinite-scroll-bower.git'

BOWER_REPO_DIR='out'
CWD="$PWD"
GIT_SSH_COMMAND='ssh -i deploy_key'

git clone $BOWER_REPO $BOWER_REPO_DIR
cd $BOWER_REPO_DIR
Expand Down

0 comments on commit 21036ac

Please sign in to comment.