From 6006e995b96f089ae70054eb0bd2cda4022ab7db Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Wed, 28 Jun 2017 18:20:48 +0200 Subject: [PATCH] That kinda worked but need to make the key private --- deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.sh b/deploy.sh index 0637548..636c48d 100644 --- a/deploy.sh +++ b/deploy.sh @@ -5,6 +5,7 @@ echo Found file: $FILENAME if [ $1 = 'production' ]; then echo Production mode echo $UPLOAD_KEY > upload_key +chmod 400 upload_key yes | scp -B -i upload_key -o StrictHostKeyChecking=no $FILENAME travis@server.figytuna.com:/minecraft/main/plugins fi