-
Prepare jekyll environment
-
Start service
$ git clone https://github.com/wecharyu/wecharyu.github.io.git
$ cd wecharyu.github.io
$ bundle install
$ bundle exec jekyll serve -H 0.0.0.0 --port 80 --trace
- master: the structural code of the website, excluding the real blogs.
- posts: the real blogs to show, including the latest master code.
- gh-pages: the site data build by workflows for github pages.
As we used the workflows of github to deploy our website, we should create a PR to posts branch to ensure the build sucess.