Sync my blog source code with GitHub.
Welcome to my personal blog
- Visit: https://blog.cloudorz.com.
Here is My Blog Source Code, You can visit my blog at here.
这里是我的博客文章源码, 你可以在这里访问我的博客。
# Highly recommend to use gh-cli to clone this private repository
gh repo clone hugo-blog
cd hugo-blog
bash init.sh
# Now youcan write your own article in content/post....
- Build and Deploy
bash push.sh <commit message>
- Publish Only (With Git Push Action)
bash publish.sh
git submodule init themes/hugo-theme-stack
git submodule update
bash push.sh clean
# This will be clean all history commit, and push to github repo with "refactor: clean history commits." commit message.
bash push.sh "Commit Message"
# This will be push to github repo with "Commit Message" commit message.