Using the yes command to answer everything

This commit is contained in:
Norbi Peti 2017-06-28 18:02:27 +02:00 committed by GitHub
parent 1943f7ce0c
commit 765610e6e3

View file

@ -5,5 +5,5 @@ 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
scp -i upload_key $FILENAME travis@server.figytuna.com:/minecraft/main/plugins yes | scp -i upload_key $FILENAME travis@server.figytuna.com:/minecraft/main/plugins
fi fi