From 9f21d08b3372c25ac012ac5b2c9acd8cd6a7383f Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Sun, 19 Mar 2023 10:05:55 +0000 Subject: [PATCH] fix ci to work when server stoped --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1463e76..489e822 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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