1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-04-22 23:27:46 +00:00

Add CI to upload the binaries to the server

This commit is contained in:
Joshua Goins 2023-10-04 19:23:51 -04:00
parent 0b20fb80d0
commit abb3bf46f9

15
.build.yml Normal file
View file

@ -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/