From c68d1b749dc06d07f30409f50bd2af047c17e954 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Fri, 26 Jun 2026 14:47:53 +0000 Subject: [PATCH] =?UTF-8?q?deploy.sh:=20exclude=20documentele=20interne=20?= =?UTF-8?q?(*.md)=20=C8=99i=20.serena/.gitignore=20din=20publicare?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documentele interne (CLAUDE.md, PRD, analize, TODOS) nu trebuie să fie public accesibile la romfast.ro/.md. Co-Authored-By: Claude Opus 4.8 (1M context) --- deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) 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}"