diff --git a/.drone.yml b/.drone.yml index 4f86761..9b097b7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ...