reposUpdateInformationAboutPagesSite
Update information about a GitHub Pages site
PUT /repos/{owner}/{repo}/pages HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"cname": {
"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).\"",
"required": false,
"location": "body",
"type": "string"
},
"https_enforced": {
"description": "Specify whether HTTPS should be enforced for the repository.",
"required": false,
"location": "body",
"type": "boolean"
},
"build_type": {
"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.",
"required": false,
"location": "body",
"type": "string",
"enum": [
"legacy",
"workflow"
]
},
"source": {
"description": "",
"required": false,
"location": "body",
"type": "string"
}
}