Soenneker.GitHub.Repositories.Pages 11.0.805

Prefix Reserved
dotnet add package Soenneker.GitHub.Repositories.Pages --version 11.0.805
                    
NuGet\Install-Package Soenneker.GitHub.Repositories.Pages -Version 11.0.805
                    
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.805" />
                    
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.805" />
                    
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.805
                    
#r "nuget: Soenneker.GitHub.Repositories.Pages, 11.0.805"
                    
#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.805
                    
#: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.805
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.805
                    
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.805 0 11/15/2026
11.0.804 82 11/14/2026
11.0.803 93 11/13/2026
11.0.802 171 11/12/2026
11.0.801 90 11/11/2026
11.0.800 52 11/11/2026
11.0.799 81 11/11/2026
11.0.798 80 11/11/2026
11.0.797 77 11/11/2026
11.0.796 61 11/11/2026
11.0.795 60 11/11/2026
11.0.794 64 11/11/2026
11.0.793 63 11/11/2026
11.0.792 93 11/11/2026
11.0.791 138 11/10/2026
11.0.790 166 11/9/2026
11.0.789 186 11/8/2026
11.0.788 198 11/7/2026
11.0.787 242 11/6/2026
11.0.786 205 11/5/2026
Loading failed

Update dependency Soenneker.GitHub.ClientUtil to 11.0.786 (#1614)