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
masterbranch. This is useful for repositories dedicated to website content. - Selecting master branch /docs folder will publish from the
/docsfolder of yourmasterbranch. 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
Why developers still flock to Python: Guido van Rossum on readability, AI, and the future of programming
Discover how Python changed developer culture—and see why it keeps evolving.
TypeScript’s rise in the AI era: Insights from Lead Architect, Anders Hejlsberg
TypeScript just became the most-used language on GitHub. Here’s why, according to its creator.
Completing urgent fixes anywhere with GitHub Copilot coding agent and mobile
Unlock the full potential of the GitHub platform. See how Copilot coding agent and GitHub Mobile combine to help you tackle development tasks and urgent fixes, no matter where you are.