Skip to content

Commit de85739

Browse files
authored
ci: add Pagefind command to Hugo workflow (#5)
Build the pagefind data files for page searching
1 parent 198c5ba commit de85739

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5454
HUGO_ENVIRONMENT: production
5555
run: |
56+
npm_config_yes=true npx pagefind --site 'public' --output-path 'static/pagefind'
5657
hugo \
5758
--minify \
5859
--baseURL "${{ steps.pages.outputs.base_url }}/"

0 commit comments

Comments
 (0)