- Update all skill SSH commands from sshpass to key-based auth (~/.ssh/archipelago-deploy) - Add proxy_connect_timeout 120s to nginx Ollama location blocks - Add new polish/sweep skills for overnight automation - Add demo content (documents, photos) for demo stack - Add .ssh/ to .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
867 B
Markdown
25 lines
867 B
Markdown
---
|
|
name: deploy
|
|
description: Deploy all changes to the live Archipelago server
|
|
disable-model-invocation: true
|
|
allowed-tools: Bash, Read
|
|
---
|
|
|
|
Deploy all changes to the live server (192.168.1.228).
|
|
|
|
## Steps
|
|
|
|
1. Run the deploy script from the project root:
|
|
```bash
|
|
./scripts/deploy-to-target.sh --live
|
|
```
|
|
|
|
2. This syncs frontend and backend code, builds the Rust backend **on the server** (never locally on macOS), deploys frontend to `/opt/archipelago/web-ui/`, deploys backend binary to `/usr/local/bin/archipelago`, and restarts systemd + nginx.
|
|
|
|
3. After deploy completes, verify the server is healthy:
|
|
```bash
|
|
ssh -i ~/.ssh/archipelago-deploy archipelago@192.168.1.228 'systemctl is-active archipelago nginx && sudo journalctl -u archipelago -n 10 --no-pager'
|
|
```
|
|
|
|
4. Report whether the deploy succeeded and if any errors appeared in the logs.
|