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
Agent-driven development in Copilot Applied Science
I used coding agents to build agents that automated part of my job. Here’s what I learned about working better with coding agents.
GitHub for Beginners: Getting started with GitHub security
Learn how to secure your projects and keep them safe with GitHub Advanced Security.
Building AI-powered GitHub issue triage with the Copilot SDK
Learn how to integrate the Copilot SDK into a React Native app to generate AI-powered issue summaries, with production patterns for graceful degradation and caching.