说实话,我的记忆力有点太差了。
刚才往博客发布文章,我居然楞了一会。因为我记得我好像曾经在博客的发布方式上做出了重大的改变,但具体是什么却怎么也记不住了。想是前几日下过的雨,忘记了是前天,还是昨天。
那么这个改动显然是在4月份完成的。

以往,我发布博客内容依赖于一个我自己写的shell脚本:
hugo --minify
# find ./deploy_git -mindepth 1 -not -name '.git' -exec rm -r {} +
find ./deploy_git -mindepth 1 ! -path './deploy_git/.git*' -exec rm -r {} +
cp -r ./public/* ./deploy_git
cd deploy_git
git add .
git commit -m "OwO $(date "+%Y-%m-%d %H:%M:%S")"
git push https://github.com/HelloLingC/hellolingc.github.io.git master
说实话,很丑陋。这是因为Hugo官方的部署方式