Deploy Status banner
2anki 2anki

Deploy Status

DevOps community

Description

--- description: SSH to 2anki.net, show pm2 status and recent server log tail allowed-tools: Bash --- Run a single SSH call: ```bash ssh -o ConnectTimeout=10 alemayhu@2anki.net "pm2 list && echo '---LOGS---' && pm2 logs --lines 80 --nostream 2>&1 | tail -100" ``` The app runs **blue-green**, so the live process is `server-green` or `server-blue` — never plain `server`. Hardcoding `pm2 logs server` returns an empty tail (no process by that name). Omit the process name so `pm2 logs` tails which

Installation

Installs to ~/.claude/commands/2anki-2anki.net-deploy-status.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/2anki/2anki.net/HEAD/.claude/commands/deploy-status.md -o ~/.claude/commands/2anki-2anki.net-deploy-status.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository