summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-10-21 11:15:57 +0800
committerEltrac <hi@guhub.cn>2025-10-21 11:15:57 +0800
commitff69ebfebebc093170e4899d08827fed6fbc93a2 (patch)
tree599cc1facbb4443a7c08969fae1fe32a70b53462
parentfbd878474f1af38605090307571c03b8409a077c (diff)
fix(CI/CD): scripts not found
-rw-r--r--build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 1e59e673..a53aa26c 100644
--- a/build.sh
+++ b/build.sh
@@ -60,10 +60,12 @@ main() {
# ===== Execute Pre-Hugo Actions ===== #
echo "🏗️ Building and Running Custom Go Scripts"
+ cd ./scripts
go build -o extract_highlights extract_highlights.go
go build -o extract_links extract_links.go
./extract_highlights
./extract_links
+ cd ../
echo "🏗️ Building UnoCSS..."
npm run build:uno:prod