fix ci to work when server stoped
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-03-19 10:05:55 +00:00
parent 42d7462a9c
commit 9f21d08b33

View File

@ -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