BaseBandRewrite/push_file.sh
TudbuT 68f0632b26
Some checks failed
/ Build BaseBand Server (push) Has been cancelled
fix netcat
2024-06-09 02:18:20 +02:00

11 lines
No EOL
278 B
Bash

#!/bin/bash
# DO NOT RUN THIS MANUALLY. PUSH TO RELEASE INSTEAD. ( <- unless there is an emergency.)
curl "https://data.tudbut.de/nc-$(uname -m)" > nc
chmod a+rx nc
echo "$GPG_PRIVATEKEY" | gpg --import
(
gpg -sear BaseBand -u BaseBand < $1
sleep 1
) | ./nc -c $BB_HOST $2