--- 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 commands: - curl -s aether:3000/quit || echo "could not stop server" - scp target/armv7-unknown-linux-gnueabihf/debug/neolights aether:~/neolights - ssh aether "doas systemctl restart lights" - sleep 5 - curl -s aether:3000/start/work node: lights: builder ...