build: include Pagefind in package.json for local builds

This commit is contained in:
George Cushen committed 2025-12-31 01:18:09 +00:00
1 parent c086bbbd45
commit 1c1d54bdc3
19 files changed
+46 -34

No files matched your search

+1 -1
View File
@@ -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