[{"content":"这个博客是怎么跑起来的 第一篇,先把博客自身的部署链路记下来,顺便验证一下样式和代码高亮。\n整条链路:\n本地 hugo new content posts/xxx.md 写文章。 git push 到自托管的 Gitea。 Gitea Actions 的 vps-runner(host 执行器)拉代码、跑 hugo --minify。 构建产物 public/ 直接 cp 到主机 /var/www/blog.m1ngdaxie.com。 主机 nginx 直接 serve 静态文件,Cloudflare 在前面套 CDN + TLS。 没有容器、没有数据库,纯静态,稳。\n代码高亮测试 1 2 3 4 5 6 7 package main import \u0026#34;fmt\u0026#34; func main() { fmt.Println(\u0026#34;hello, blog\u0026#34;) } 1 2 3 hugo new content posts/my-first-real-post.md git add . \u0026amp;\u0026amp; git commit -m \u0026#34;new post\u0026#34; \u0026amp;\u0026amp; git push # 几十秒后自动上线 接下来 写点 k3s / Tailscale 组网的踩坑 整理 Go 后端的实时协作笔记 也许加上 giscus 评论 如果你能看到这页且代码块有高亮,说明部署成功了 🎉\n","permalink":"https://blog.m1ngdaxie.com/posts/hello-world/","summary":"记录一下这个博客本身是怎么部署的:Hugo 生成静态站,push 到 Gitea 后由 act_runner 自动构建并发布到主机 nginx。","title":"搭好了:用 Hugo + Gitea Actions 自托管这个博客"}]