fix ci to work when server stoped
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
42d7462a9c
commit
9f21d08b33
@ -12,7 +12,7 @@ steps:
|
||||
- cargo build --target=armv7-unknown-linux-gnueabihf
|
||||
- name: deploy
|
||||
commands:
|
||||
- curl -s aether:3000/quit
|
||||
- curl -s aether:3000/quit || echo "could not stop server"
|
||||
- scp target/armv7-unknown-linux-gnueabihf/debug/neolights aether:~/neolights
|
||||
- ssh aether "doas systemctl restart lights"
|
||||
- sleep 5
|
||||
|
Loading…
Reference in New Issue
Block a user