ButtonPresents/deploy.sh

10 lines
268 B
Bash
Raw Normal View History

2017-06-28 15:20:15 +00:00
#!/bin/sh
FILENAME=$(find target/ ! -name '*original*' -name '*.jar')
echo Found file: $FILENAME
if [ $1 = 'production' ]; then
echo Production mode
echo $UPLOAD_KEY > upload_key
yes | scp -i upload_key $FILENAME travis@server.figytuna.com:/minecraft/main/plugins
2017-06-28 15:20:15 +00:00
fi