Skip to content

Commit a348237

Browse files
committed
ci/deploy: do write the Pagefind Playground files
This makes experimenting with Pagefind's search parameters easier, allowing to fiddle with the parameters in real-time by directing the browser to the `/pagefind/playground` URL. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a9a8d4d commit a348237

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/deploy-to-github-pages/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ runs:
8383
8484
- name: run Pagefind ${{ env.PAGEFIND_VERSION }} to build the search index
8585
shell: bash
86-
run: npx -y pagefind@${{ env.PAGEFIND_VERSION }} --site public
86+
run: npx -y pagefind@${{ env.PAGEFIND_VERSION }} --site public --write-playground
8787

8888
- name: Temporarily copy some Rails assets to help the transition
8989
shell: bash

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
fi
4141
4242
- name: run Pagefind ${{ env.PAGEFIND_VERSION }} to build the search index
43-
run: npx -y pagefind@${{ env.PAGEFIND_VERSION }} --site public
43+
run: npx -y pagefind@${{ env.PAGEFIND_VERSION }} --site public --write-playground
4444

4545
- name: build tar archive
4646
run: cd public && tar czvf ../pages.tar.gz *

0 commit comments

Comments
 (0)