Skip to content

GitHub Pages

A free static site hosting service from GitHub. Ideal if the project already lives in a git repository.

How to Deploy MkDocs

mkdocs gh-deploy

The command will build the site and upload it to the gh-pages branch. Then, in the repository settings, select the source for Pages.

Advantages

  • free;
  • git integration — history and versions;
  • automatic rebuild through GitHub Actions.

See Also

← All Terms