Date:

Estimated Time:less than a minute

Deploying Nikola with Githup Pages

The simple way

Its about using the docs github pages method.

  1. create a new github repository
  2. create a /docs/ folder with the website in it
  3. enable github pages and specify the docs folder as html source

Why the simple way

The alternate way is to use a gh-pages branch to store the website. The main problem is the method leads to highly complex deployment method with git subtree or other way

A second problem is this method make either duplicate website source code, or makes building the website for each post.

React ?

This page was last modified: