Simpler GitHub Pages publishing
We’re making it easier to publish a website with GitHub Pages. Now you can select a source in your repository settings and GitHub Pages will look for your content there.…

We’re making it easier to publish a website with GitHub Pages. Now you can select a source in your repository settings and GitHub Pages will look for your content there.
- Selecting master branch will publish your site from the
master
branch. This is useful for repositories dedicated to website content. - Selecting master branch /docs folder will publish from the
/docs
folder of yourmaster
branch. This lets you maintain documentation and code together on one branch, and open source maintainers can accept contributions for both in a single pull request.
Rest assured that existing project pages which use a gh-pages
branch will keep working just like before, as will user and organization pages published from the master
branch.
Check out the documentation to learn more.
Written by
Related posts

Exploring GitHub CLI: How to interact with GitHub’s GraphQL API endpoint
Discover practical tips and tricks for forming effective GraphQL queries and mutations.

How to make your images in Markdown on GitHub adjust for dark mode and light mode
When you want your images to look good in Markdown on GitHub, you might have to adjust for the UI around them.

Cracking the code: How to wow the acceptance committee at your next tech event
Want to speak at a tech conference? These four practical tips will help your session proposal stand out—and land you on the stage.