From 80fb12db49a904d6e5646cc3d051a20ab4a26b04 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Sat, 18 Mar 2023 12:56:47 +0000 Subject: [PATCH] fixed drone ci --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9abaaed..84d77ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,10 +12,11 @@ steps: - cargo build --target=armv7-unknown-linux-gnueabihf - name: deploy commands: - - curl aether:3000/quit + - curl -s aether:3000/quit - scp target/armv7-unknown-linux-gnueabihf/debug/neolights aether:~/new-neoligths - ssh aether "doas systemctl restart lights" - - curl aether:3000/start/work + - sleep 5 + - curl -s aether:3000/start/work node: lights: builder ...