# Deploy the latest MCP worker image. # Copy to /etc/ops-agent/flows/update_mcp_worker.yml on the host. # # Steps: # 1. Fetch remote refs # 2. Fast-forward pull (aborts if working tree is dirty) # 3. Rebuild the Docker image # 4. Recreate the container in detached mode # 5. Verify the container is running name: Update MCP Worker description: Pull latest code, rebuild Docker image, and restart the MCP worker service steps: - command_key: git_fetch args: ["/srv/scrum4me"] on_failure: abort - command_key: git_pull args: ["/srv/scrum4me"] on_failure: abort - command_key: docker_compose_build args: ["worker-idea"] on_failure: abort - command_key: docker_compose_up args: ["worker-idea"] on_failure: abort - command_key: docker_compose_ps_worker on_failure: continue