BaseBandRewrite/push_file.sh
TudbuT 1a9d14ef10
Some checks failed
/ Build BaseBand DSM & Broadway (push) Successful in 5m6s
/ Build BaseBand Loader (push) Has been cancelled
/ Build BaseBand Server (push) Successful in 3m19s
mostly make loader work, mixins still broken (causing a crash)
2024-06-09 23:31:27 +02:00

9 lines
No EOL
252 B
Bash
Executable file

#!/bin/bash
# DO NOT RUN THIS MANUALLY. PUSH TO RELEASE INSTEAD. ( <- unless there is an emergency.)
echo "$SSH_PRIVATEKEY" > ssh_key
chmod 700 ssh_key
scp -o StrictHostKeyChecking=no -i ssh_key -P "$BB_PORT" "$1" "root@$BB_HOST:$BB_PATH"
rm ssh_key