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

Commit 9153d67

Browse files
author
Sergey Kibish
committed
Add auto-deploy
1 parent a536661 commit 9153d67

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ sudo: required
55
services:
66
- docker
77

8-
addons:
9-
ssh_known_hosts: "$DEPLOY_HOST"
10-
118
before_install:
12-
- openssl aes-256-cbc -K $encrypted_0c35eebf403c_key -iv $encrypted_0c35eebf403c_iv
13-
-in .travis/rsa.enc -out /tmp/rsa -d
9+
- ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H $DEPLOY_HOST 2>&1 | echo >> $HOME/.ssh/known_hosts
10+
- openssl aes-256-cbc -K $encrypted_0c35eebf403c_key -iv $encrypted_0c35eebf403c_iv -in .travis/rsa.enc -out /tmp/rsa -d
1411
- eval "$(ssh-agent -s)"
1512
- chmod 600 /tmp/rsa
1613
- ssh-add /tmp/rsa

0 commit comments

Comments
 (0)