this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(infra): upload system prompt during clean deploy

The SYSTEM_PROMPT.md file is gitignored (contains personal info), so
infra/deploy.sh now uploads it to the server during initial deployment.

Also mounts the prompts directory in docker-compose.prod.yml so the
container can access the system prompt at runtime.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

alice ba2872ad 86447822

+20
+20
infra/deploy.sh
··· 451 451 } 452 452 453 453 ####################################### 454 + # Upload system prompt 455 + ####################################### 456 + upload_system_prompt() { 457 + log_info "Uploading system prompt..." 458 + 459 + local prompt_file="$SCRIPT_DIR/../prompts/SYSTEM_PROMPT.md" 460 + 461 + if [[ ! -f "$prompt_file" ]]; then 462 + log_warn "System prompt not found: $prompt_file" 463 + log_warn "Create it from the example: cp prompts/SYSTEM_PROMPT.md.example prompts/SYSTEM_PROMPT.md" 464 + return 465 + fi 466 + 467 + ssh -T -o StrictHostKeyChecking=no "root@$SERVER_IP" "mkdir -p /opt/assistant/prompts" 468 + scp -o StrictHostKeyChecking=no "$prompt_file" "root@$SERVER_IP:/opt/assistant/prompts/SYSTEM_PROMPT.md" 469 + log_success "System prompt uploaded" 470 + } 471 + 472 + ####################################### 454 473 # Start services 455 474 ####################################### 456 475 start_services() { ··· 639 658 get_tailscale_ip 640 659 upload_env_file 641 660 upload_caddyfile 661 + upload_system_prompt 642 662 start_services 643 663 wait_for_health 644 664 set_telegram_webhook