Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

GitHub Pages limits and terms

What GitHub Pages allows - 1 GB a site, 100 MB a file, about 100 GB of traffic a month, a public repository on a free plan, no shops - how static publishing checks a build against it before every push, and how to make a…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/static-publishing/github-pages-limits-and-terms.md

On this page

GitHub Pages limits and terms

GitHub Pages is free, and it has limits. Static publishing knows them: the wizard states them, the preview shows the size of the build against them, and every push of a GitHub Pages target is checked first.

What you'll have at the end

A build that fits GitHub Pages, and a site that keeps to its terms.

The preview: the size of the build against the limits of GitHub Pages
The preview: the size of the build against the limits of GitHub Pages

The limits

LimitWhat static publishing does
The site1 GBabove 90 %: a warning; above it: not pushed
One file100 MBabove 50 MB: a warning (GitHub warns too); above 100 MB: not pushed
Trafficabout 100 GB a month (a soft limit)nothing to check; GitHub writes to you when a site uses far more
Buildsabout 10 an hour (a soft limit, branch builds)one publish is one build
Repositorypublic on GitHub Free; private on GitHub Pro, Team or Enterprisea private repository is a warning

The limits checked are MaxSiteBytes and MaxFileBytes in [StaticPublishSettings] (1 GB and 100 MB). A push over them stays pending with the reason in the job's report and in History; nothing reaches GitHub. These are GitHub's published figures; GitHub may change them, and its own documentation is the reference.

Make a build smaller

  • Files in step 7 of the wizard: Only what the pages name (Assets=referenced) instead of every image of published content.
  • Leave out pages or sections that need not be public (ExcludePaths[], ExcludeSections[]).
  • Large videos and downloads: link them from another host (a video platform, a release download) instead of the site's storage.
  • The preview lists the largest files and the size against the limit before you publish.

The terms

GitHub Pages is for project, personal and organization sites. Its terms say it is not meant to run an online business, an e-commerce site or anything mainly for commercial transactions, and not as free file hosting. A shop, a members' area or a site that sells should stay on your own hosting; static publishing also leaves out what cannot work statically (search, forms, logins). Read GitHub's current terms for GitHub Pages and its acceptable use policies before you publish: they apply to your site, not to Exponential.

A site whose content must not be public belongs in a private repository on a paid plan, or on another host: a free plan serves only public repositories, and their files are public on GitHub too. See Keep private content private.

Next step

Build, preview and publish.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x