Function repos_slash_create_pages_site

Source
pub async fn repos_slash_create_pages_site(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    repos_create_pages_site_request: Option<ReposCreatePagesSiteRequest>,
) -> Result<Page, Error<ReposSlashCreatePagesSiteError>>
Expand description

Configures a GitHub Pages site. For more information, see "About GitHub Pages." The authenticated user must be a repository administrator, maintainer, or have the ‘manage GitHub Pages settings’ permission. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.