---
name: deploy-both
description: Deploy all changes to both Archipelago servers
disable-model-invocation: true
allowed-tools: Bash, Read
---

Deploy all changes to BOTH servers (primary: 192.168.1.228, secondary: 192.168.1.198).

## Steps

1. Run:
   ```bash
   ./scripts/deploy-to-target.sh --both
   ```

2. This builds on the primary server first, then copies built artifacts to the secondary.

3. Verify both servers respond:
   ```bash
   ssh -i ~/.ssh/archipelago-deploy archipelago@192.168.1.228 'systemctl is-active archipelago'
   ssh -i ~/.ssh/archipelago-deploy archipelago@192.168.1.198 'systemctl is-active archipelago'
   ```
