Feature Request: Custom static deployables directory

Currently with GitHub pages, the only directories that can be selected for the root of the website are / and /docs/. Would it be unreasonable to ask for a feature to where the static deploy directory could be any root directory?

For example, in Docusaurus v2, out of the box there is an NPM script that builds and outputs the static content to a /build/ directory instead of /docs/. Rather than mangling together another NPM script to manage this is in the repository’s gh-pages branch, would it be reasonable to instead have the option to input (and designate) /build/ as the static deploy directory into the GitHub repository’s settings?

1 Like