feat: add retires and errors on uncessessful attempts
This commit is contained in:
parent
0c2e129bbd
commit
cfc5f01221
5 changed files with 136 additions and 28 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue