微信公众号「DevOps攻城狮」- 专注于分享CI/CD、DevOps领域知识。
Share knowledge in the fields of CI/CD and DevOps. Blog URL: https://shenxianpeng.github.io
If you find any mistakes or questions, please don't hesitate to ask via issues.
git clone https://github.com/shenxianpeng/blog.git
cd blog
docker compose up -d
git clone https://github.com/shenxianpeng/blog.git
cd blog
sudo make deps # Install dependencies
make server # Start server
make help # Help for make
Posts are saved by folder, with the hierarchy of year/month.
Creating a post with the following steps:
- Running command
hexo new "post"
(the post name MUST lowercase) can generatepost.md
undersource/_drafts
- Then update
post.md
, and fields such astags
,categories
orauthor
- Once it's ready to post, move
post.md
tosource/_post/2022/01/
and runhexo s
to see how it looks like
If some all look good, push your changes to the remote repository, and CI will publish it automatically 🚀
A new commit will be pushed to the blog static files repository
Format tools for publishing to other medium platforms
署名-非商业性使用-相同方式共享 3.0 中国大陆 (CC BY-NC-SA 3.0 CN)
Attribution-NonCommercial-ShareAlike 3.0 China Mainland (CC BY-NC-SA 3.0 CN)