You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
354 B

#!/usr/bin/env bash
set -euo pipefail
cargo build --release --target x86_64-unknown-linux-musl
mkdir -p build
cp target/x86_64-unknown-linux-musl/release/chat-overlay build/
cp -r static build/
rsync -r -a -v -e ssh --delete-after build
ssh chown chatoverlay /home/chatoverlay/chat-overlay