Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Add auto-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Kibish committed Jan 28, 2018
1 parent a536661 commit 9153d67
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ sudo: required
services:
- docker

addons:
ssh_known_hosts: "$DEPLOY_HOST"

before_install:
- openssl aes-256-cbc -K $encrypted_0c35eebf403c_key -iv $encrypted_0c35eebf403c_iv
-in .travis/rsa.enc -out /tmp/rsa -d
- ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H $DEPLOY_HOST 2>&1 | echo >> $HOME/.ssh/known_hosts
- openssl aes-256-cbc -K $encrypted_0c35eebf403c_key -iv $encrypted_0c35eebf403c_iv -in .travis/rsa.enc -out /tmp/rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/rsa
- ssh-add /tmp/rsa
Expand Down

0 comments on commit 9153d67

Please sign in to comment.