From abb3bf46f92b48e5b3c760f9485a384961287b63 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 4 Oct 2023 19:23:51 -0400 Subject: [PATCH] Add CI to upload the binaries to the server --- .build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..fcaa80a --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +image: archlinux +packages: + - rsync + - rust +secrets: + - b748582a-5d31-4fe8-94d6-4a63035e97aa +sources: + - https://git.sr.ht/~redstrate/kawari +tasks: + - build: | + cd kawari + cargo build --release + - upload: | + echo "StrictHostKeyChecking=no" >> ~/.ssh/config + rsync -e 'ssh -p 38901' -Wvr kawari/target/release/kawari-frontier deploy@ryne.moe:/opt/kawari/ \ No newline at end of file