GitHub Pages can select a folder in the current branch to run the Pages service

I want GitHub Pages to be able to select a folder in the branch for gh-pages service
For example, in my project, main branch has a public folder, and Pages in Settings, I want Pages to select the public folder, rather than having me create another branch and put all the files from public in the new branch.

Hello and welcome here!

This is not something we support currently. We can only track a Pages site deployed from the root (/) of a repository or alternative from a /docs folder.

1 Like

Will this feature be considered?

It is. Not the way you probably think but we have a solution we are working on and that we should be able to communicate on in the next few weeks.