Fix SSH_PRIVATE_KEY File variable detection and set default SSH port to 2222 for Iran server

2 jobs from main in 5 minutes and 44 seconds
Status Job ID Name Coverage
  Test
passed #4194
test_api

03:05

 
  Deploy
failed #4195
deploy_prod

02:39

 
Name Stage Failure
failed
deploy_prod Deploy
2026-08-01T13:00:02.627591Z 01O $ echo "Deploying to Iran production server..."
2026-08-01T13:00:02.627898Z 01O Deploying to Iran production server...
2026-08-01T13:00:02.628344Z 01O $ if [ -n "$SSH_PRIVATE_KEY" ]; then # collapsed multi-line command
2026-08-01T13:00:02.635140Z 01O $ ssh -i ~/.ssh/id_ed25519 -p ${PROD_SSH_PORT:-2222} root@${PROD_SERVER_IP:-216.126.237.62} "cd /root/stax_backend_api && git pull origin main && (docker-compose up -d --build || (pkill -f uvicorn || true; source venv/bin/activate && nohup uvicorn src.api.main:app --host 0.0.0.0 --port 8000 > api.log 2>&1 &))"
2026-08-01T13:02:15.952862Z 01E ssh: connect to host 216.126.237.62 port 2222: Connection timed out
2026-08-01T13:02:16.662055Z 00O
2026-08-01T13:02:16.676826Z 00O+
2026-08-01T13:02:16.677197Z 00O+Cleaning up project directory and file based variables
2026-08-01T13:02:17.439960Z 00O
2026-08-01T13:02:17.648951Z 00O ERROR: Job failed: exit code 255