summaryrefslogtreecommitdiff
path: root/build.sh
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
commita0bfe5f6ccd7fb9bae9330fc8108f786e66a09ca (patch)
tree455d1b4469b01b24594bd86b9a584f0993a0817d /build.sh
parente1bc41f5014565d1f3a2f26deccce1932fbd24fd (diff)
fix(CI/CD): scripts not found
Former-commit-id: ff69ebfebebc093170e4899d08827fed6fbc93a2
Diffstat (limited to 'build.sh')
-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