diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | .travis/install_key.sh | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index c2e1da4..c81b17e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ before_install: - > if [ "$TRAVIS_PULL_REQUEST" = "false" ] ; then \ bash .travis/install_key.sh; \ - SSH_TEST_PRIVATE_KEY=$HOME/.travis/deploy.pem; \ + export SSH_TEST_PRIVATE_KEY=$HOME/.travis/deploy.pem; \ else \ export SSH_AUTH_SOCK=""; \ fi diff --git a/.travis/install_key.sh b/.travis/install_key.sh index f2df1ab..95a6571 100755 --- a/.travis/install_key.sh +++ b/.travis/install_key.sh @@ -1,11 +1,9 @@ #!/bin/bash -export SSH_TEST_PRIVATE_KEY=$PWD/.travis/deploy.pem - openssl aes-256-cbc \ -K $encrypted_1477e58fe67a_key \ -iv $encrypted_1477e58fe67a_iv \ -in .travis/deploy.pem.enc \ - -out .travis/deploy.pem -d + -out $HOME/.travis/deploy.pem -d -chmod 600 .travis/deploy.pem +chmod 600 $HOME/.travis/deploy.pem |