From 10ffa756ed940d06925b8c2cdbaaa2ed595f14ee Mon Sep 17 00:00:00 2001 From: verdant Date: Sat, 7 Feb 2026 15:01:53 +0800 Subject: chore: add "--minify" option --- publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'publish.sh') diff --git a/publish.sh b/publish.sh index e52ca5f..aac78cf 100644 --- a/publish.sh +++ b/publish.sh @@ -5,7 +5,7 @@ rm .hugo_build.lock # 执行 Hugo 构建和部署 commit_date=$(date +"%Y-%m-%d %H:%M:%S") cd ~/blog/ -hugo --cleanDestinationDir --gc +hugo --cleanDestinationDir --gc --minify cd ~/blog/public || exit 1 git add . git commit -m "auto update: $commit_date" -- cgit v1.2.3