Build / deploy status of a commit
github_build_statusConfirm a commit built and deployed successfully by checking GitHub Actions runs, commit status, and deployments before submitting the URL to IndexNow.
Instructions
Whether the site actually built and went live after a commit: GitHub Actions check runs, the combined commit status, and deployments with their latest state (this is how Cloudflare Pages, Netlify and Vercel report back). Call it after github_commit_files with the sha it returned, before submitting the URL to IndexNow or inspecting it in Search Console. waitSeconds polls until everything finishes instead of returning a pending snapshot. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Commit sha or branch name; defaults to the repository's default branch head. | |
| repo | Yes | Repository as 'owner/name', e.g. 'octocat/my-site'. | |
| verifyUrl | No | Page to fetch once the build settles, to confirm the change is actually live. Needed for hosts that deploy without reporting back to GitHub (Cloudflare Pages on this setup reports nothing), where checks alone stay empty. | |
| expectText | No | Text that must appear in verifyUrl's HTML for the deploy to count as live, e.g. a phrase from the page you just changed. | |
| includeLogs | No | For failed Actions runs, include the tail of the failing job's log (helps diagnose a broken build). | |
| waitSeconds | No | Keep polling until every check and deployment settles, up to this many seconds. 0 returns immediately. |