diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 43883998..9670714d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -59,7 +59,7 @@ jobs: --minify \ --baseURL "https://www.byjp.me" # Build the search index - npm_config_yes=true npx pagefind + npm_config_yes=true npx pagefind@latest - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/pagefind.yaml b/pagefind.yaml index 61420510..e83d519c 100644 --- a/pagefind.yaml +++ b/pagefind.yaml @@ -1,3 +1,3 @@ site: public # Don't use _pagefind as Github Pages will ignore it -output-subdir: search +output_subdir: search