Soenneker.GitHub.Repositories.Pages 11.0.819

Prefix Reserved
dotnet add package Soenneker.GitHub.Repositories.Pages --version 11.0.819
                    
NuGet\Install-Package Soenneker.GitHub.Repositories.Pages -Version 11.0.819
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.GitHub.Repositories.Pages" Version="11.0.819" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.GitHub.Repositories.Pages" Version="11.0.819" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.GitHub.Repositories.Pages" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.GitHub.Repositories.Pages --version 11.0.819
                    
#r "nuget: Soenneker.GitHub.Repositories.Pages, 11.0.819"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.GitHub.Repositories.Pages@11.0.819
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.819
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.819
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.GitHub.Repositories.Pages

Reads, creates, updates, and deletes GitHub Pages site configuration for a repository.

Installation

dotnet add package Soenneker.GitHub.Repositories.Pages

Configure and register

{
  "GH": {
    "Token": "your-github-token"
  }
}
using Soenneker.GitHub.Repositories.Pages.Registrars;

services.AddGitHubRepositoriesPagesUtilAsSingleton();

Read or create a site

Page? site = await pages.Get(
    "example-org", "example-repository", cancellationToken);

Page? created = await pages.Create(
    "example-org",
    "example-repository",
    new ReposCreatePagesSiteRequest
    {
        Source = new ReposCreatePagesSiteRequestSource
        {
            Branch = "main",
            Path = ReposCreatePagesSiteRequestSourcePath.Slash
        }
    },
    cancellationToken);

Get() returns null only when GitHub reports that Pages is not configured. Authentication, permission, rate-limit, and transport failures propagate. The generated request models define supported build and source settings.

Update() replaces the supplied Pages settings. Delete() removes the Pages site configuration and is destructive; repository content is separate, but the published site becomes unavailable. These operations require repository administration permission.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.GitHub.Repositories.Pages:

Package Downloads
Soenneker.GitHub.Repositories.Suite

Registers commonly used Soenneker GitHub repository services through one package

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.819 101 11/24/2026
11.0.818 220 11/21/2026
11.0.817 212 11/19/2026
11.0.816 101 11/19/2026
11.0.815 121 11/19/2026
11.0.814 115 11/18/2026
11.0.812 167 11/18/2026
11.0.811 126 11/18/2026
11.0.810 150 11/17/2026
11.0.809 140 11/17/2026
11.0.808 178 11/16/2026
11.0.807 111 11/15/2026
11.0.806 155 11/15/2026
11.0.805 177 11/15/2026
11.0.804 230 11/14/2026
11.0.803 167 11/13/2026
11.0.802 256 11/12/2026
11.0.801 157 11/11/2026
11.0.800 108 11/11/2026
11.0.799 137 11/11/2026
Loading failed

Update dependency Soenneker.GitHub.ClientUtil to 11.0.800 (#1627)