Skip to content

Commit

Permalink
Merge pull request #180 from kube-logging/fix-pagefind-indexing-step
Browse files Browse the repository at this point in the history
Move search indexing to the right place
  • Loading branch information
fekete-robert authored Aug 30, 2023
2 parents beea353 + 19ef5d4 commit d7ee0e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ jobs:
- name: Build
run: hugo --environment production --baseURL ${{ steps.pages.outputs.base_url }}/

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

# - name: Upload artifact
# uses: actions/upload-pages-artifact@64bcae551a7b18bcb9a09042ddf1960979799187 # v1.0.8
# with:
Expand All @@ -87,6 +84,10 @@ jobs:
rm -rf tmp/gh-pages/js
rm -rf tmp/gh-pages/_print
rsync -a public/ tmp/gh-pages/
- name: Pagefind search index
run: npm_config_yes=true npx pagefind --bundle-dir pagefind --source ./tmp/gh-pages

- name: Commit & Push changes
uses: actions-js/push@master
with:
Expand Down

0 comments on commit d7ee0e3

Please sign in to comment.