fix: agregado --exclude=mee al rsync de deploy para evitar wipe de SES Bounce Monitor

This commit is contained in:
Mauricio López Coria
2026-08-05 11:11:29 -03:00
parent f39af22e98
commit e948096231
+8 -2
View File
@@ -34,15 +34,21 @@ if [ -f "$DIST/404.html" ]; then
cp "$DIST/404.html" "$DIST/404.shtml"
fi
# rsync with --delete to mirror (preserva mwp/, .well-known/, etc.)
# Extract shared design-system partials for WordPress /blog/
bash "$REPO/scripts/build-design-system.sh"
# rsync with --delete to mirror
# Preserve: mwp/, mee/ (SES Bounce Monitor), .well-known/, blog/ (WP), design-system/ (shared), smtp creds
rsync -avz --delete \
--exclude='mwp' \
--exclude='mee' \
--exclude='.well-known' \
--exclude='.smtp-credentials.json' \
--exclude='blog' \
-e ssh \
"$DIST/" \
"$REMOTE:$REMOTE_PATH/"
echo ""
echo "=== Verificación ==="
ssh $REMOTE "ls -la /home/hostingd/public_html/api/ && echo '---' && ls /home/hostingd/public_html/mwp/ | head -3"
ssh $REMOTE "ls -la /home/hostingd/public_html/api/ && echo '---' && ls /home/hostingd/public_html/mwp/ | head -3 && echo '---' && ls /home/hostingd/public_html/design-system/ | head -10"