Skip to content

Commit

Permalink
Actually generate pagefind index
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fekete authored and Robert Fekete committed Mar 14, 2024
1 parent a7bbe64 commit dada089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
- name: Build
run: hugo --environment production

- name: Pagefind search index
run: npm_config_yes=true npx pagefind --bundle-dir pagefind --source ./public

- name: Deploy with rclone
uses: AnimMouse/setup-rclone@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
- name: Build
run: hugo --environment staging --baseURL ${{ steps.pages.outputs.base_url }}/

- name: Pagefind search index
run: npm_config_yes=true npx pagefind --bundle-dir pagefind --source ./public

# Build hugo output with manpages environment, run scripts, copy output manpages to public so it gets uploaded
- name: Build manpage environment
run: hugo --environment manpage --baseURL ${{ steps.pages.outputs.base_url }}/ --destination manpages
Expand Down

0 comments on commit dada089

Please sign in to comment.