Deploy to Iran production server via systemd service stax_backend

3 jobs from main in 4 minutes and 4 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Test
passed #4201
test_api

03:30

 
  Deploy
failed #4203
deploy_prod

00:33

failed #4202
deploy_prod

00:38

 
Name Stage Failure
failed
deploy_prod Deploy
2026-08-02T06:55:13.979397Z 01O Deploying to Iran production server...
2026-08-02T06:55:13.979398Z 01O $ if [ -n "$SSH_PRIVATE_KEY" ]; then # collapsed multi-line command
2026-08-02T06:55:14.018654Z 01O $ ssh -i ~/.ssh/id_ed25519 -p ${PROD_SSH_PORT:-2222} root@${PROD_SERVER_IP:-127.0.0.1} "cd /root/stax_backend_api && GIT_SSL_NO_VERIFY=true git pull origin main && source venv/bin/activate && pip install --prefer-binary -r requirements.txt && systemctl restart stax_backend"
2026-08-02T06:55:14.929196Z 01E Warning: Permanently added '[127.0.0.1]:2222' (ED25519) to the list of known hosts.
2026-08-02T06:55:15.566027Z 01E root@127.0.0.1: Permission denied (publickey).
2026-08-02T06:55:16.273248Z 00O
2026-08-02T06:55:16.302103Z 00O+
2026-08-02T06:55:16.302633Z 00O+Cleaning up project directory and file based variables
2026-08-02T06:55:17.508971Z 00O
2026-08-02T06:55:17.777377Z 00O ERROR: Job failed: exit code 255