mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 16:14:05 +00:00
build: include Pagefind in package.json for local builds
This commit is contained in:
1 parent
c086bbbd45
commit
1c1d54bdc3
19 files changed
+46
-34
No files matched your search
+1
-1
@@ -98,7 +98,7 @@ jobs:
|
||||
run: |
|
||||
# Check if site uses Pagefind search
|
||||
if [ -f "package.json" ] && grep -q "pagefind" package.json; then
|
||||
pnpm dlx pagefind --source "public" || npx pagefind --source "public"
|
||||
pnpm run pagefind || npx pagefind --site "public"
|
||||
fi
|
||||
|
||||
- name: Upload artifact
|
||||
|
||||
Reference in new issue
Block a user