setup_site
Runs Google Search Console setup idempotently: verifies ownership, adds the property, submits a sitemap, and starts inspection. Stops at the first step needing action and returns the next action.
Instructions
Runs the whole loop idempotently: auth -> verification -> add to Search Console -> submit sitemap -> first inspection. Stops at the first step that needs action and returns nextAction (e.g. the exact file to commit and deploy). Call again after each deploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Property: "https://example.netlify.app/", "example.com" (URL-prefix, https assumed) or "sc-domain:example.com" (domain property). | |
| method | No | Default: FILE for URL-prefix sites, DNS_TXT for sc-domain: properties. | |
| sitemapUrl | No | ||
| dnsProvider | No | Auto-create the DNS record for sc-domain: properties. | |
| maxWaitSeconds | No | Verification retry budget, default 30. |