That kinda worked but need to make the key private
This commit is contained in:
parent
39ee9ba498
commit
6006e995b9
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ echo Found file: $FILENAME
|
||||||
if [ $1 = 'production' ]; then
|
if [ $1 = 'production' ]; then
|
||||||
echo Production mode
|
echo Production mode
|
||||||
echo $UPLOAD_KEY > upload_key
|
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
|
yes | scp -B -i upload_key -o StrictHostKeyChecking=no $FILENAME travis@server.figytuna.com:/minecraft/main/plugins
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue