my blog
create or update posts in content/post
directory.
$ rm -rf public
# build
$ hugo --minify
# preview
$ hugo server -D
-D, --buildDrafts
: include content marked as draft
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1).
git commit changed content and push to origin, the website will be built on Github Actions and deployed to github pages.
$ git push origin main
$ git submodule update --init --recursive