My github user page(https://s-horiguchi.github.io) is generated by Hugo, a static site generator written in Go.
This is the main repository for this site.
-
public
directory is linked to the s-horiguchi.github.io repository- which is the generated content and hosted on the site
-
thems/resume
is linked to the hugo-resume repository- The theme of hugo-resume is used but I modified some parts
- Note that I use
green
branch.
Ref: https://gohugo.io/hosting-and-deployment/hosting-on-github/
- Edit the source codes
- Check it on the local server
$ hugo server -D -t resume
- Clear & Build static pages
$ rm -rf public/*
$ hugo -t resume
- Publish the generated pages
$ cd public
$ git add .
$ git commit -m "hoge"
$ git push -u origin master
- Commit the changes in source code for this repository(portfolio) and hugo-resume repo.
That's all!