Publishing again
Publish sends the site again to the same repository, as a new change, and GitHub publishes it. The repository's history keeps every publish.
Sites kept on GitHub
A site whose sources are on GitHub publishes from its own repositories, made when it was created or moved there:
- Everything public: the pages are published from the same repository as the sources.
- Private sources: the pages go to their own public repository, as GitHub Pages on a free plan publishes only public repositories. GitHub asks a second time the first time, for permission to write private repositories.
- In an organization: the repositories are made there when the site is created or moved, if your account may create repositories in it.
What GitHub Pages does not do
GitHub Pages sends every file with its own rules: it ignores the security headers and the cache rules SeedPage writes for the site. The pages still carry their content security policy inside them, and Lighthouse scores do not change. A site that needs the headers can move to Cloudflare Pages, which applies them.
When something goes wrong
- "GitHub was not authorized": Authorize was not chosen on GitHub's page. Publish again.
- "GitHub's code expired": the code lasts about fifteen minutes. Publish again and type the new one.
- "GitHub Pages could not publish the site": GitHub failed to build its copy after several tries. Wait a few minutes and publish again.
- "GitHub refused the publish": GitHub turned the request down, often for a moment. Try again later.
- "This site is only on this computer": move it to GitHub or Google Drive first, from the list of sites.
Every message is listed in Errors.