# GitHub Pages

Repository\-based static website hosting with build workflows, HTTPS and specific commercial\-use and access\-control limits\.

ID: Q1094 · Revision: 1142

Type: service · License: Hosted proprietary service included with eligible GitHub plans; use restrictions apply[^ghpages][^ghlimits] · Status: active

Website: https://pages.github.com/



GitHub Pages is a static website\-hosting service that publishes repository content, optionally through a build process\. It supports project and account sites with HTTPS and custom\-domain options\. Repository\-plan eligibility, website visibility, capacity and restrictions on business\-oriented use affect which hosting needs it can replace\.[^ghpages][^ghhttps][^ghlimits]

## Repository\-based static publishing

GitHub Pages publishes HTML, CSS, JavaScript and other static site files from a GitHub repository, optionally after a build step\. It is suited to documentation, project information and personal sites\. Client\-side code can make a static site interactive, but Pages itself is not an application\-server runtime for an arbitrary backend\.[^ghpages]

A site can publish from a selected repository branch and folder or use a custom GitHub Actions workflow\. This connects content changes to version control and automated builds\. It also means that the build environment and final hosted output are separate: a program executed during a build is not thereby available as a continuously running server\.[^ghbuild][^ghpages]

User or organization sites and project sites have different default addresses\. An account site uses the account's github\.io address, while a project site normally adds its repository name to the path\. Assets and internal links must suit the deployment path rather than assuming every project is hosted at a domain root\.[^ghpages]

## Repository access and site visibility

Public\-repository Pages hosting is available on GitHub Free\. Publishing from private repositories requires an eligible paid plan\. These repository rules concern the source files; they do not automatically make the resulting website private\.[^ghpages][^ghhttps]

Private website publishing is a separate Enterprise Cloud capability for eligible organization project sites\. Access is tied to the source repository's read permissions, with additional rules for Enterprise Managed Users\. An ordinary private repository should not be used as evidence that a Pages site is safe for confidential content\.[^ghprivate][^ghhttps]

Pages supports HTTPS, including correctly configured custom domains, and can redirect HTTP traffic to HTTPS\. This protects transport but does not change who may view the content\. Mixed\-content links and domain configuration are separate concerns from the repository's visibility\.[^ghhttps]

## Capacity and permitted use

Published sites have a 1 GB size limit\. GitHub documents a soft bandwidth limit of 100 GB per month and a soft limit of ten builds per hour, with the build\-rate exception for custom Actions workflows\. These are distinct from a promise of unlimited hosting or unlimited build compute\.[^ghlimits]

The service is not permitted as free hosting for an online business, e\-commerce site or site primarily facilitating commercial transactions or commercial SaaS\. GitHub also cautions against sensitive transactions such as sending passwords or payment\-card information\. The existence of HTTPS does not override these service\-use boundaries\.[^ghlimits]

## Substitution considerations

GitHub Pages can substitute for [Cloudflare Pages](/cloudflarepages) for a qualifying static documentation or project site\. It does not replace Pages Functions, and its business\-use and access\-control rules can rule it out for otherwise technically similar sites\. A static build's portability does not imply identical backend or permission features\.[^ghpages][^ghlimits][^ghprivate][^cfpages]

## Capabilities and substitutions

### Static site delivery — supported

Repository files or generated output become a hosted website\.[^ghpages]

Use case: Publish documentation · Platforms: Web · Region: Provider network, account plan and regional availability apply

### Build workflows — supported

Branch/folder publishing or custom Actions builds are documented\.[^ghbuild]

Use case: Automate publishing · Platforms: Web · Region: Provider network, account plan and regional availability apply

### Private\-source confidentiality — limited

A private repository does not automatically make the published site private\.[^ghhttps][^ghprivate]

Use case: Protect internal content · Platforms: Web · Region: Provider network, account plan and regional availability apply

### Private website access — limited

Eligible organization project sites require Enterprise Cloud\.[^ghprivate]

Use case: Host internal documentation · Platforms: Web · Region: Provider network, account plan and regional availability apply

### Commercial transaction hosting — unsupported

Pages is not permitted as free hosting for commerce/business/SaaS use described in its limits\.[^ghlimits]

Use case: Run transactional business sites · Platforms: Web · Region: Provider network, account plan and regional availability apply

### HTTPS — supported

Includes correctly configured custom domains\.[^ghhttps]

Use case: Encrypt website transport · Platforms: Web · Region: Provider network, account plan and regional availability apply

### [Substitute for Cloudflare Pages](/cloudflarepages) — limited

Static delivery overlaps; no Pages Functions equivalent and business/access rules differ\.[^ghpages][^ghlimits][^cfpages][^cppricing]

Use case: Publish qualifying static project documentation · Platforms: Web · Region: Provider network, account plan and regional availability apply

## References

[^ghpages]: [GitHub Pages overview](<https://docs.github.com/en/pages/getting-started-with-github-pages/what-is-github-pages>) — Static repository\-based hosting and public/private repository plan access (vendor; retrieved 2026-10-06T15:49:18Z)

[^ghhttps]: [GitHub Pages HTTPS](<https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https>) — HTTPS/custom domains and private\-repository versus public\-site distinction (vendor; retrieved 2026-10-06T15:50:32Z)

[^ghlimits]: [GitHub Pages limits](<https://docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits>) — Business/SaaS restrictions; 1 GB site, soft bandwidth/build limits (vendor; retrieved 2026-10-06T15:49:18Z)

[^ghbuild]: [GitHub Pages publishing sources](<https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site>) — Branch or custom GitHub Actions publishing workflow (vendor; retrieved 2026-10-06T15:49:40Z)

[^ghprivate]: [GitHub Pages private publishing](<https://docs.github.com/en/enterprise-cloud@latest/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site>) — Enterprise Cloud organization project access controls (vendor; retrieved 2026-10-06T15:50:16Z)

[^cfpages]: [Cloudflare Pages overview](<https://developers.cloudflare.com/pages/>) — Git/direct deployment; Workers now recommended for new projects (vendor; retrieved 2026-10-06T15:48:36Z)

[^cppricing]: [Cloudflare Pages Functions billing](<https://developers.cloudflare.com/pages/functions/pricing/>) — Free static requests versus shared Workers function quota (vendor; retrieved 2026-10-06T15:48:51Z)

Source revision: https://substitutefor.net/entities/Q1094?revision=1142
