7. GitHub Pages
Deploy Any Website
Once you finish your first website, let’s make it public - or available online - for free using GitHub pages.
GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub, optionally runs the files through a build process, and publishes a website.
Course Content
-
1:04 - create a separate branch called gh-pages
1:13 - creating a simple npm script
3:07 - create a folder
3:23 - add some boilerplate
4:05 - install gh pages
6:08 - create a new repository
6:46 - create a dot git ignore
7:05 - initializes a git repository
8:27 - deploy to gh pages
9:27 - choose your build folder
13:21 - add that cname record
15:02 - create a whole new folder
15:06 - create a new folder
15:39 - use the boilerplate landing page
16:35 - install gh-pages
18:26 - push this to the master branch
19:17 - build out our static assets
Resources
▶️ Traversy Media
🌐 GitHub A Record IPs:
- 185.199.108.153
- 185.199.109.153
- 185.199.110.153
- 185.199.111.153