From e1aef64cb089f3f5b97d6f5931f5020d62060673 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Sat, 18 Mar 2023 12:45:26 +0000 Subject: [PATCH] added deploy to drone.yml --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ...