Skip to content

Commit

Permalink
Travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Sep 30, 2019
1 parent 644e749 commit e762453
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:

after_success:
- if [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == "master" ]; then
openssl aes-256-cbc -k $DEPLOY_KEY -in config/deploy_id_rsa_enc_travis -d -a -out config/deploy_id_rsa -d
chmod 600 config/deploy_id_rsa
eval `ssh-agent -s`
ssh-add config/deploy_id_rsa
bundle exec cap staging deploy
openssl aes-256-cbc -k $DEPLOY_KEY -in config/deploy_id_rsa_enc_travis -d -a -out config/deploy_id_rsa -d;
chmod 600 config/deploy_id_rsa;
eval `ssh-agent -s`;
ssh-add config/deploy_id_rsa;
bundle exec cap staging deploy;
ssh-agent -k;
fi
env:
Expand Down

0 comments on commit e762453

Please sign in to comment.