mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-23 07:37:46 +00:00
Add CI to upload the binaries to the server
This commit is contained in:
parent
0b20fb80d0
commit
abb3bf46f9
1 changed files with 15 additions and 0 deletions
15
.build.yml
Normal file
15
.build.yml
Normal 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/
|
Loading…
Add table
Reference in a new issue