Skip to content

yuqingc/yuqingc.github.io

Repository files navigation

GitHubPages

The master branch contains all source codes for the page. Generated contents are deployed to the gh-page branch.

Get Started

Prerequisite

Install Hugo first.

Clone & update submodules (themes)

$ git clone --recursive [email protected]:yuqingc/yuqingc.github.io.git

Update sub modules for themes

$ git submodule update --init --recursive --remote

Write new post

$ hugo new posts/article.md

Start server locally

$ hugo server -D

Build

$ hugo

Deployment

Deploy manually

$ ./bin/publish_to_ghpages.sh

Deploy with GitHub Actions

This repository has been configured for deployment with GitHub Actions. See Actions.

Known issues

  • An i18n related issue causes authorbox breaks when using Hugo of which version is newer than 0.76. Do not upgrade Hugo version in .env until this issue is fixed.