Publish site
publish_siteTee up a ONE-CLICK publish card for THIS company's marketing site (Learn / SEO pages). Call after you opened a PR and took a browse_url screenshot of the preview. It NEVER publishes: it queues a Command Center card with the screenshot. The human taps Publish page to merge that frozen PR. If this company has no site config the call is refused — this tool never publishes another company's site. Use instead of asking anyone to open Lovable or GitHub.
Routing: After landing a page PR: browse_url the preview first, then call publish_site with its screenshot_artifact_id, preview_url, pr_number, and head_sha.
[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional page path, e.g. learn/answers/usp-797-pec-sterile-cleaning-agents. | |
| head_sha | Yes | PR head commit SHA at the moment of the screenshot (the pin Approve will merge). | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| pr_number | Yes | GitHub PR number on THIS company's configured site repo. | |
| preview_url | Yes | HTTPS URL you screenshotted (production host or an allowlisted preview host for THIS company). | |
| screenshot_artifact_id | Yes | UUID returned by browse_url for that page. Must belong to this company. |