published on in tech
tags: python hugo git github

Deploy Hugo Site on GitHub Pages


    1. Create a Repository: danigong.github.io (replace danigong with your own github username)
    1. Change directory to root directory of the site.
    1. hugo --theme=hyde --baseUrl="http://danigong.github.io/"
$ cd public
$ git init
$ git remote add origin https://github.com/danigong/danigong.github.io.git
$ git add -A
$ git commit -m "first commit"
$ git push -u origin master