Skip to content

How to get the drop-down menu for gh pages? #22086

Answered by otter-computer
wslisam asked this question in General
Discussion options

You must be logged in to vote

GitHub Pages has 2 different types of sites: User/Organization sites and Project sites:

https://docs.github.com/en/github/working-with-github-pages/about-github-pages#types-of-github-pages-sites

User/Organization sites are created when you name the repository username.github.io and can only be served from the master branch. From the looks of your screenshot it seems like you’ve created this type of site, meaning the dropdown menu isn’t available.

If you’d prefer to serve your site from the gh-pages branch then you’ll need to change the type of Pages site to a Project site by renaming your repository to something other than username.github.io.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants