静态站点,Hugo 生成,GitHub Actions 自动部署到 chedong.com。
chedong/myblog (GitHub)
├── config.toml ← Hugo 站点配置
├── content/
│ ├── tech/ ← 技术笔记 (2002-2016, ~37 篇)
│ └── blog/ ← 博客 (待迁移)
├── layouts/ ← Hugo 模板 (base/single/list/partials)
├── static/ ← 静态文件 (图片/附件)
└── .github/workflows/ ← CI/CD: push → hugo → rsync
数据流:
git push main
└→ GitHub Actions
├─ hugo --minify
└─ rsync public/ → chedong.com/{tech,blog}/
| 目录 | 部署路径 | 说明 |
|---|---|---|
content/tech/ |
chedong.com/tech/ |
✅ 迁移中 (Phase 1-4) |
content/blog/ |
chedong.com/blog/ |
🔜 待规划 |
- 站点生成: Hugo (Go binary, 毫秒级构建)
- 样式: 复用 chedong.com style.css v2.1 (Tokyo Night + Hakusho 双主题)
- 评论: giscus (GitHub Discussions)
- 部署: GitHub Actions → rsync
- 内容管理: agent 通过 GitHub MCP 直接编辑 Markdown 文件
---
title: "文章标题"
date: 2003-03-06T17:34:56+08:00
categories: [java, 构建工具]
tags: [ant, 笔记]
aliases:
- /tech/ant.html
---
## 章节标题
正文内容...docs/specs/— 设计文档docs/plans/— 实施计划