BaseBandRewrite/scripts/push_local.sh

14 lines
423 B
Bash
Raw Normal View History

#!/bin/bash
export SSH_PRIVATEKEY="$(cat ~/.ssh/upload_key)"
export BB_HOST=baseband.lol
if [ "$BB_PORT" = '' ] ; then
export BB_PORT=46338
fi
if [ "$BB_PATH" = '' ] ; then
export BB_PATH="/root/baseband/rewrite"
fi
2024-06-12 09:49:58 +02:00
bash scripts/push_file.sh Server/build/libs/BaseBand-Server.jar
bash scripts/push_file.sh Client/build/proguard/BaseBand-Broadway.jar
bash scripts/push_file.sh Loader/build/proguard/BaseBand-Loader.jar