Little tool for showing my VOD library
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.

12 lines
360 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/vod-library build/
chmod +x build/vod-library
cp -r templates build/
rsync -r -a -v -e ssh --delete-after build
ssh chown vods /home/vods/vod-library