{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates information for a GitHub Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\n\nThe authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"body":{"type":"object","properties":{"cname":{"type":["string","null"],"description":"Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \"[Using a custom domain with GitHub Pages](https://docs.github.com/pages/configuring-a-custom-domain-for-your-github-pages-site).\""},"https_enforced":{"type":"boolean","description":"Specify whether HTTPS should be enforced for the repository."},"build_type":{"type":"string","description":"The process by which the GitHub Pages site will be built. `workflow` means that the site is built by a custom GitHub Actions workflow. `legacy` means that the site is built by GitHub when changes are pushed to a specific branch.","enum":["legacy","workflow"]},"source":{"anyOf":[{"type":"string","description":"Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.","enum":["gh-pages","master","master /docs"]},{"type":"object","description":"Update the source for the repository. Must include the branch name and path.","properties":{"branch":{"type":"string","description":"The repository branch used to publish your site's source files."},"path":{"type":"string","description":"The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`.","enum":["/","/docs"]}},"required":["branch","path"]}]}},"anyOf":[{"required":["build_type"]},{"required":["source"]},{"required":["cname"]},{"required":["public"]},{"required":["https_enforced"]}],"examples":[{"cname":"octocatblog.com","source":{"branch":"main","path":"/"}}]}},"required":["path","body"],"additionalProperties":false},"name":"Update information about a GitHub Pages site","id":"github.repos.update-information-about-pages-site","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{"cname":"octocatblog.com","source":{"branch":"main","path":"/"}}},"maxRequests":1,"summary":false}}