Remove claw push and payloads directory with related docs

This commit is contained in:
2026-05-16 21:52:19 +08:00
parent 24d32cc34b
commit bd482b3301
5 changed files with 84 additions and 49 deletions
+16 -1
View File
@@ -1,5 +1,20 @@
#!/usr/bin/env bash
# sync-blog: pull + rebuild
# ============================================================
# sync-blog@tx-ubuntu-hugo.sh
# 拉取 Hugo 博客最新代码并重新构建静态页面
#
# 用法: claw run tx-ubuntu-hugo sync-blog@tx-ubuntu-hugo.sh
# 适用: Ubuntu 24.04, Hugo 0.161+
#
# 前置条件:
# - ~/hugo-blog 已 git clone 且 remote 指向 github.com:fukunee/Hugo
# - hugo 已安装
# - nginx 指向 ~/hugo-blog/public
#
# 流程:
# 1. git pull — 拉取最新文章和配置
# 2. hugo build — 重建静态页面到 public/
# ============================================================
set -e
cd ~/hugo-blog