From e2c8a0d5411b16f010ba510c6cde8f1bf62b47dc Mon Sep 17 00:00:00 2001 From: John Lettman Date: Mon, 15 Jul 2024 21:55:13 -0400 Subject: [PATCH] pages: correct pagefind directory --- .github/workflows/docs.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f28de2e..e82eea5 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -35,8 +35,10 @@ jobs: - name: Generate documentation run: | npm install pagefind + export PAGEFIND="${HOME}/node_modules/.bin/pagefind" + go install go.abhg.dev/doc2go@latest - doc2go -out docs -pagefind ./... + doc2go -out docs -pagefind="${PAGEFIND}" ./... - name: Upload documentation uses: actions/upload-artifact@v1 with: