{ "enabled": true, "name": "Check Gitea Connection", "description": "Verifies reachability of the private Gitea instance through the linode jump host and confirms git SSH key authentication succeeds. Run on demand before pushing.", "version": "1", "when": { "type": "userTriggered" }, "then": { "type": "runCommand", "command": "ssh -o BatchMode=yes -o ConnectTimeout=10 -o StrictHostKeyChecking=accept-new gitea 2>&1 | Select-String -Quiet \"successfully authenticated\"; if ($?) { Write-Output \"OK: Gitea reachable via jump host + git SSH auth succeeded\" } else { Write-Output \"FAILED: cannot reach Gitea or git auth rejected\"; exit 1 }", "timeout": 30 } }