diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-26 17:00:54 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-26 17:00:54 +0200 |
commit | 48d32644cd8e1846b66582f7e508598f77e39ccf (patch) | |
tree | 2b6d06617c902c103a3b8c2669305b62ceb9bbe3 /.travis/install_key.sh | |
parent | e85778eecc8df3356a238396933c1303ab79124c (diff) | |
download | go-git-48d32644cd8e1846b66582f7e508598f77e39ccf.tar.gz |
travis: fix export private key
Diffstat (limited to '.travis/install_key.sh')
-rwxr-xr-x | .travis/install_key.sh | 6 |
1 files changed, 2 insertions, 4 deletions
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 |