View on GitHub

The Least You Need to Know About GitHub Pages

The least you need to know about GitHub Pages is laser-focused on one thing: showing how to get a working informational website up and running as fast as possible using GitHub Pages, using only the GitHub website.

Enable GitHub Pages

GitHub Pages hasn’t been enabled yet. Doing so will let you apply the powers of Jekyll to the markup files you’ve created.

The Settings icon for your repo is near the upper right of the page

The Settings page appears.

You’ll see Source subheading and a button that says None.

A Select branch dropdown appears. The dropdown lets you select a source.

Choose the None button, then choose **Branch: main**

Screenshot showing the /docs button choice

Screenshot showing complete GitHub Pages settings

Warning Part 1: Your site is now visible to the entire Internet

GitHub Pages is a publishing medium. Enabling GitHub Pages on your repo means anyone with the GitHub Pages URL to your site can view it.

Warning Part 2: You can create public sites from private repos

GitHub allows you to create private repositories. But nothing is stopping you from enabling GitHub Pages on your private repo. Be warned that if you do so, people will be able to view GitHub Pages version of your repo.

Previous page Next page

Home