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
<PackageReference Include="Soenneker.GitHub.Repositories.Pages" Version="11.0.819" />
<PackageVersion Include="Soenneker.GitHub.Repositories.Pages" Version="11.0.819" />
<PackageReference Include="Soenneker.GitHub.Repositories.Pages" />
paket add Soenneker.GitHub.Repositories.Pages --version 11.0.819
#r "nuget: Soenneker.GitHub.Repositories.Pages, 11.0.819"
#:package Soenneker.GitHub.Repositories.Pages@11.0.819
#addin nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.819
#tool nuget:?package=Soenneker.GitHub.Repositories.Pages&version=11.0.819
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.800)
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 |
Update dependency Soenneker.GitHub.ClientUtil to 11.0.800 (#1627)