feat(deploy): add shadowing guard and evidence-based legacy env migration
This commit is contained in:
@@ -119,9 +119,9 @@ rsync -a --exclude='.git/' --exclude='/reports/' --exclude='*.log' --exclude='__
|
||||
log_ok "Deployed Rules and Skills under target's .agents/"
|
||||
|
||||
# Copy config templates and generate scripts (M-2)
|
||||
if [ -f "$SRC_DIR/.env.example" ]; then
|
||||
cp "$SRC_DIR/.env.example" "$TARGET_DIR/.env.example"
|
||||
log_ok "Copied .env.example configuration template"
|
||||
if [ -f "$SRC_DIR/.mam.env.example" ]; then
|
||||
cp "$SRC_DIR/.mam.env.example" "$TARGET_DIR/.mam.env.example"
|
||||
log_ok "Copied .mam.env.example configuration template"
|
||||
fi
|
||||
if [ -f "$SRC_DIR/deploy/generate-env.sh" ]; then
|
||||
mkdir -p "$TARGET_DIR/scripts"
|
||||
|
||||
Reference in New Issue
Block a user