https://github.com/shenxianpeng/blog
Xianpeng Shen's Blog
https://github.com/shenxianpeng/blog
automation blog blog-article blogger cicd devops hexo shenxianpeng
Last synced: 10 months ago
JSON representation
Xianpeng Shen's Blog
- Host: GitHub
- URL: https://github.com/shenxianpeng/blog
- Owner: shenxianpeng
- Created: 2017-11-01T04:44:16.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-08-11T09:23:29.000Z (10 months ago)
- Last Synced: 2025-08-11T10:01:24.947Z (10 months ago)
- Topics: automation, blog, blog-article, blogger, cicd, devops, hexo, shenxianpeng
- Language: Python
- Homepage: http://shenxianpeng.github.io
- Size: 180 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Xianpeng Shen's Blog
[](https://github.com/shenxianpeng/blog/actions/workflows/CI.yml)
[](https://github.com/shenxianpeng/blog/actions?query=workflow%3ACodeQL)
[](https://sonarcloud.io/dashboard?id=shenxianpeng_blog)
[](https://bestpractices.coreinfrastructure.org/projects/5067)

[](https://app.netlify.com/sites/shenxianpeng-blog/deploys)
微信公众号「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](https://github.com/shenxianpeng/blog/issues).
## Start web with Docker
```bash
git clone https://github.com/shenxianpeng/blog.git
cd blog
docker compose up -d
```
## Start web on host
### Installation
```bash
git clone https://github.com/shenxianpeng/blog.git
cd blog
sudo make deps # Install dependencies
```
### Build and run
```bash
make server # Start server
make help # Help for make
```
## Create and publish new post
Posts are saved by folder, with the hierarchy of year/month.
Creating a post with the following steps:
1. Running command `hexo new "post"`(the post name MUST lowercase) can generate `post.md` under `source/_drafts`
2. Then update `post.md`, and fields such as `tags`, `categories` or `author`
3. Once it's ready to post, move `post.md` to `source/_post/2022/01/` and run `hexo 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](https://github.com/shenxianpeng/shenxianpeng.github.io)
## Format tools
Format tools for publishing to other medium platforms
* [Convert to Markdown](http://blog.didispace.com/tools/online-markdown/)
* [Markdown Nice](https://www.mdnice.com/)
## Licenses
[GPL-3.0](https://github.com/shenxianpeng/blog/blob/master/LICENSE) © [Hexo](https://hexo.io)
[署名-非商业性使用-相同方式共享 3.0 中国大陆 (CC BY-NC-SA 3.0 CN)](https://creativecommons.org/licenses/by-nc-sa/3.0/cn/deed.zh)
[Attribution-NonCommercial-ShareAlike 3.0 China Mainland (CC BY-NC-SA 3.0 CN)](https://creativecommons.org/licenses/by-nc-sa/3.0/cn/deed.en)