diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..c9eef84 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -euo pipefail + +SOURCE="/opt/git/voyager" +TARGET="/opt/docker/caddy/site/voyager" + +rsync -av --delete \ + --exclude='.git/' \ + --exclude='.gitignore' \ + --exclude='*.backup*' \ + --exclude='systemd/' \ + --exclude='telemetry/' \ + --exclude='scripts/' \ + "$SOURCE/" "$TARGET/" + +echo "Voyager deployed to $TARGET"