diff options
| author | verdant <i@glowisle.me> | 2026-02-07 15:01:53 +0800 |
|---|---|---|
| committer | verdant <i@glowisle.me> | 2026-02-07 15:01:53 +0800 |
| commit | 10ffa756ed940d06925b8c2cdbaaa2ed595f14ee (patch) | |
| tree | f7d79360d4744f783c3359e0ca2d8823efb13b1b /publish.sh | |
| parent | 6b45c73bb4cc1a3d2c5c8e7d9f7e4298c7025353 (diff) | |
| download | blog-10ffa756ed940d06925b8c2cdbaaa2ed595f14ee.tar.gz blog-10ffa756ed940d06925b8c2cdbaaa2ed595f14ee.zip | |
chore: add "--minify" option
Diffstat (limited to 'publish.sh')
| -rw-r--r-- | publish.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |
