added deploy to drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-03-18 12:45:26 +00:00
parent bd1a735e46
commit e1aef64cb0

View File

@ -1,7 +1,7 @@
---
kind: pipeline
type: exec
name: Build
name: Build and deploy
steps:
- name: build
@ -10,7 +10,10 @@ steps:
- rustup target add armv7-unknown-linux-gnueabihf
- rustup show
- cargo build --target=armv7-unknown-linux-gnueabihf
- name: deploy
- curl aether:3000/quit
- scp target/armv7-unknown-linux-gnueabihf/debug/neolights aether:~/new-neoligths
- curl aether:3000/start/work
node:
lights: builder
...