Build with search index

This commit is contained in:
JP Hastings-Spital 2023-09-13 08:14:54 +01:00
parent 79ba0b4133
commit 8670c02e0b
2 changed files with 2 additions and 0 deletions

View file

@ -58,6 +58,8 @@ jobs:
--cacheDir /tmp/hugo/cache \ --cacheDir /tmp/hugo/cache \
--minify \ --minify \
--baseURL "https://www.byjp.me" --baseURL "https://www.byjp.me"
# Build the search index
npm_config_yes=true npx pagefind
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with: