aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/install_key.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/install_key.sh')
-rwxr-xr-x[-rw-r--r--].travis/install_key.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis/install_key.sh b/.travis/install_key.sh
index b035092..f2df1ab 100644..100755
--- a/.travis/install_key.sh
+++ b/.travis/install_key.sh
@@ -1,3 +1,11 @@
-openssl aes-256-cbc -K $encrypted_1477e58fe67a_key -iv $encrypted_1477e58fe67a_iv -in .travis/deploy.pem.enc -out .travis/deploy.pem -d
+#!/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
+
chmod 600 .travis/deploy.pem
-ssh-add .travis/deploy.pem
+