Use rsync again
This commit is contained in:
parent
dd76ad51ad
commit
bc39b14fef
|
@ -4,9 +4,9 @@ build:
|
||||||
cross build --target=armv7-unknown-linux-gnueabihf
|
cross build --target=armv7-unknown-linux-gnueabihf
|
||||||
|
|
||||||
run:
|
run:
|
||||||
ssh {{url}} "killall red-cross" || echo "Failed to kill process. Maybe it's not running"
|
ssh {{url}} "killall red" || echo "Failed to kill process. Maybe it's not running"
|
||||||
scp -r ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:red-cross
|
rsync -vu ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:
|
||||||
ssh {{url}} "RUST_BACKTRACE=1 ./red-cross"
|
ssh {{url}} "RUST_BACKTRACE=1 ./red"
|
||||||
|
|
||||||
rdown:
|
rdown:
|
||||||
ssh {{url}} "sudo /usr/sbin/poweroff"
|
ssh {{url}} "sudo /usr/sbin/poweroff"
|
||||||
|
|
Loading…
Reference in a new issue