Skip to main content

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.

Comments

Comments powered by Disqus