-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Unable to set Pages to main /docs via API #2371
Copy link
Copy link
Closed
Description
go-github/github/repos_pages.go
Line 90 in 6931fad
| // PagesUpdate sets up parameters needed to update a GitHub Pages site. |
CNAME *string `json:"cname"`
// Source must include the branch name, and may optionally specify the subdirectory "/docs".
// Possible values are: "gh-pages", "master", and "master /docs".
I can set this using the UI "main /docs" but trying to do it with the API gives the above error.
Happy to update myself via PR if you can point me in the right direction.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels