aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-04-26 17:00:54 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-04-26 17:00:54 +0200
commit48d32644cd8e1846b66582f7e508598f77e39ccf (patch)
tree2b6d06617c902c103a3b8c2669305b62ceb9bbe3 /.travis
parente85778eecc8df3356a238396933c1303ab79124c (diff)
downloadgo-git-48d32644cd8e1846b66582f7e508598f77e39ccf.tar.gz
travis: fix export private key
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install_key.sh6
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