diff --git a/deploy.sh b/deploy.sh index b383975..a35a4d0 100755 --- a/deploy.sh +++ b/deploy.sh @@ -11,6 +11,8 @@ # - efactura-generator/config.json e exclus explicit (conține api_key, # gestionat doar pe server). # - Folderul WIP „Index redesign - romfast.ro/" e exclus ca să nu ajungă public. +# - Fișierele *.md (CLAUDE.md, PRD, analize, TODOS) sunt documente interne și +# NU se publică (ar fi accesibile la romfast.ro/.md). set -euo pipefail @@ -37,6 +39,9 @@ rsync -avz "${DRY_RUN[@]}" \ --exclude='deploy.sh' \ --exclude='efactura-generator/config.json' \ --exclude='Index redesign - romfast.ro/' \ + --exclude='*.md' \ + --exclude='.serena' \ + --exclude='.gitignore' \ -e "ssh -p ${SSH_PORT}" \ "${SRC_DIR}" \ "${REMOTE_USER}@${REMOTE_HOST}:${REMOTE_PATH}"