fix rsync excludes: skip caddy, gitignore, README

This commit is contained in:
Daniel committed 2026-04-06 22:23:08 +02:00
1 parent 93e395fded
commit a76116608d
1 file changed
+3
+3
View File
@@ -69,7 +69,10 @@ if [[ "$DO_SSH" -eq 1 ]]; then
rsync -av --delete \
--exclude='.git' \
--exclude='.env' \
--exclude='.gitignore' \
--exclude='deploy.sh' \
--exclude='caddy/' \
--exclude='README.md' \
"$SCRIPT_DIR/" "${DEPLOY_HOST}:${DEPLOY_PATH}/"
echo "→ SSH: synced to ${DEPLOY_HOST}:${DEPLOY_PATH}"
fi