summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-28 19:50:24 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-28 19:50:24 +0800
commit741fb7d7461f3b3b5922bcf2bfe2a7bccbdb2f59 (patch)
treef82579462af6b410ba8a7463b806bb00672c5efa
parent43ff648ae1759fb7d80793bcf359e5a6bab818ad (diff)
chore: add build script for the host server
Former-commit-id: 37c65238f4594f28f6485685dcf0bedc03a7ba06
-rw-r--r--build-on-host.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-on-host.sh b/build-on-host.sh
new file mode 100644
index 00000000..6eb67ba2
--- /dev/null
+++ b/build-on-host.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+git pull
+hugo --gc --minify
+pnpm pagefind --site public