Add deploy.sh

This commit is contained in:
akp 2024-11-04 10:43:24 +00:00
parent 1e707f927c
commit e8116a1af8
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

9
deploy.sh Normal file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -ex
./build.sh
ssh cavill systemctl stop piphone
scp ./main cavill:/usr/local/pi-phone/pi-phone
ssh cavill systemctl start piphone