fixed drone ci
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-03-18 12:56:47 +00:00
parent bb0d463440
commit 80fb12db49

View File

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