Add deployment script
This commit is contained in:
Executable
+16
@@ -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"
|
||||
Reference in New Issue
Block a user