Github

User and Organisation Pages

User and organisation pages live in a special GitHub repository dedicated to only the GitHub Pages files. This repository must be named after the account name. For example, @mojombo’s user page repository has the name mojombo.github.io.

Content from the master branch of your repository will be used to build and publish the GitHub Pages site, so make sure your _site directory content is stored there.

Project Pages

Unlike user and organisation pages, project pages are kept in the same repository as the project they are for, except that the website content is stored in a specially named gh-pages branch or in a /docs folder on the master branch.

Content from the gh-pages branch or /docs folder on your master branch of your repository will be used to build and publish the GitHub Pages site, so make sure your _site directory content is stored there.

Output will become available under a subpath of your user pages subdomain, such as username.github.io/project (unless a custom domain is specified).

Leave a Comment

CONTENTS