That kinda worked but need to make the key private

This commit is contained in:
Norbi Peti 2017-06-28 18:20:48 +02:00 committed by GitHub
parent 39ee9ba498
commit 6006e995b9

View file

@ -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