Add deploy.sh
This commit is contained in:
parent
1e707f927c
commit
e8116a1af8
1 changed files with 9 additions and 0 deletions
9
deploy.sh
Normal file
9
deploy.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue