lights/.drone.yml
Andre Henriques e1aef64cb0
All checks were successful
continuous-integration/drone/push Build is passing
added deploy to drone.yml
2023-03-18 12:45:26 +00:00

20 lines
435 B
YAML

---
kind: pipeline
type: exec
name: Build and deploy
steps:
- name: build
commands:
- rustup default stable
- 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
...