From the course: GitHub Quick Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

GitHub Pages

GitHub Pages

- [Ray] You can use GitHub Pages to host your simple static sites. Now you'll notice here that in this project I have a few interesting things. I have an index.html file here in the main section of our master branch and then I have a docs folder that has another index.html file. I also have a GH Pages branch and this is a special branch. Anything in this branch can also be converted into a website. So you can choose one of those three places to place your content in and GitHub will allow you to build a website from those pages. Let's use the setting tabs to check this out. I'm going to scroll down to the GitHub Pages section. And you can see here that we have a few options for the source. Just as I mentioned, you can use the master branch and GitHub will find the index.html file in that branch and use it for the GitHub Pages site. You can also put things inside a docs folder and GitHub will find the index.html file…

Contents