Skip to content

Commit d42898c

Browse files
committed
Added a pagefind step
1 parent da975d6 commit d42898c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/astro.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ jobs:
7373
run: |
7474
${{ steps.detect-package-manager.outputs.runner }} astro build \
7575
--site "${{ steps.pages.outputs.origin }}" \
76-
--base "${{ steps.pages.outputs.base_path }}" && \
77-
pagefind --site dist
76+
--base "${{ steps.pages.outputs.base_path }}"
7877
working-directory: ${{ env.BUILD_PATH }}
78+
- name: Index Pages with Pagefind
79+
run: pagefind --site dist
7980
- name: Upload artifact
8081
uses: actions/upload-pages-artifact@v3
8182
with:

0 commit comments

Comments
 (0)