|
// 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.
go-github/github/repos_pages.go
Line 90 in 6931fad
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.