feat: add retires and errors on uncessessful attempts

This commit is contained in:
Jet Pham 2025-06-05 19:39:20 -07:00
parent 0c2e129bbd
commit cfc5f01221
No known key found for this signature in database
5 changed files with 136 additions and 28 deletions

View file

@ -4,10 +4,11 @@
set -e
echo "Building for Raspberry Pi..."
cargo zigbuild --release --target aarch64-unknown-linux-gnu
cross build --release --target aarch64-unknown-linux-gnu
echo "Copying to Raspberry Pi..."
scp target/aarch64-unknown-linux-gnu/release/noisebell noisebridge@noisebell.local:~/
scp endpoints.json noisebridge@noisebell.local:/home/noisebridge/endpoints.json
echo "Setting permissions"
ssh noisebridge@noisebell.local "chmod +x ~/noisebell "