Github Pages is a free solution for deploying your websites to the Internet.
There are three types of GitHub Pages sites:
- Project
- User
- Organization
Project sites are connected to an individual project hosted on GitHub. You can create an unlimited number of project sites. User and organization sites are connected to a specific GitHub account. You only get one user or organization site per Github account.
GitHub Pages source repositories have a recommended limit of 1GB.
GitHub Pages sites have a soft bandwidth limit of 100GB per month.
GitHub Pages sites have a soft limit of 10 builds per hour.
Github Pages publishes any static files that you push to your repository.
Create your own static files OR use a static site generator
You can create a site for yourself or your organization by creating a repository with Github Pages URL as its name and adding web content to its master branch
Benefits of Github Pages
- Free!!
- Can use custom domain
- HTTPS support
- Ingrained version control in your site
Reasons not to Use Github Pages
You probably think that Github Pages seems perfect, right? Well, it is… for certain types of websites. For small static websites, such as a portfolio website, Github Pages is a perfectly suitable option, but for more involved web applications with complex server implementation, Github Pages is rendered inadequate.
GitHub Pages sites shouldn’t be used for sensitive transactions like sending passwords or credit card numbers.
GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).
GitHub Pages does not support server-side languages such as PHP, Ruby, or Python.