Skip to content
This repository has been archived by the owner on Aug 18, 2019. It is now read-only.

Commit

Permalink
update travis-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
olefebvre committed Nov 2, 2016
1 parent e0fa8f6 commit a645603
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../id_rsa.enc -out deploy_key -d
chmod 600 deploy_key
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../id_rsa.enc -out id_rsa -d
chmod 600 id_rsa
eval `ssh-agent -s`
ssh-add deploy_key
ssh-add id_rsa

# Now that we're all set up, we can push.
git push $SSH_REPO $TARGET_BRANCH

0 comments on commit a645603

Please sign in to comment.