Skip to content

Commit 54c9359

Browse files
committed
Last try, moved site args to package json
1 parent bb684fb commit 54c9359

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/astro.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ jobs:
7676
--base "${{ steps.pages.outputs.base_path }}"
7777
working-directory: ${{ env.BUILD_PATH }}
7878
- name: Index Pages with Pagefind
79-
run: ${{ steps.detect-package-manager.outputs.runner }} index-pages \
80-
--site "${{ steps.pages.outputs.origin }}" \
79+
run: ${{ steps.detect-package-manager.outputs.runner }} index-pages
8180
- name: Upload artifact
8281
uses: actions/upload-pages-artifact@v3
8382
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "astro dev",
88
"check": "astro check",
99
"build": "astro build",
10-
"index-pages": "pagefind",
10+
"index-pages": "pagefind --site dist",
1111
"preview": "astro preview",
1212
"astro": "astro",
1313
"type-check": "tsc --noEmit --isolatedDeclarations",

0 commit comments

Comments
 (0)