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
<PackageReference Include="Soenneker.GitHub.Repositories.Pages" Version="11.0.805" />
<PackageVersion Include="Soenneker.GitHub.Repositories.Pages" Version="11.0.805" />
<PackageReference Include="Soenneker.GitHub.Repositories.Pages" />
paket add Soenneker.GitHub.Repositories.Pages --version 11.0.805
#r "nuget: Soenneker.GitHub.Repositories.Pages, 11.0.805"
#:package Soenneker.GitHub.Repositories.Pages@11.0.805
#addin nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.805
#tool nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.805
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.GitHub.ClientUtil (>= 11.0.786)
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 |
Update dependency Soenneker.GitHub.ClientUtil to 11.0.786 (#1614)