-
Is there any recommendation on how to build an index via GitHub actions? the case - public documentation on GitHub anyone may change, after changes there is deployment on site, and I want to update the index |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @tenmozes 👋 I don't know that I have any specific recommendations — generally just running Pagefind in between your build step and your deployment step is all that is needed. Browsing examples of usage is usually your best bet, to see what others are doing — here's a pretty good GitHub code search for finding existing Pagefind actions: https://github.com/search?q=pagefind+path%3A.github%2Fworkflows%2F*+-org%3Acloudcannon+&type=code Let me know if that helps at all, or I'm happy to help dig into to anything more specific 🙂 |
Beta Was this translation helpful? Give feedback.
-
@bglw thank you for the link, it covers my question the main reason why i asked that, i guess the node dependency and npx is a bit overkill for indexing as far pagefind is a compilable binary thank you again |
Beta Was this translation helpful? Give feedback.
Hey @tenmozes 👋
I don't know that I have any specific recommendations — generally just running Pagefind in between your build step and your deployment step is all that is needed.
Browsing examples of usage is usually your best bet, to see what others are doing — here's a pretty good GitHub code search for finding existing Pagefind actions:
https://github.com/search?q=pagefind+path%3A.github%2Fworkflows%2F*+-org%3Acloudcannon+&type=code
Let me know if that helps at all, or I'm happy to help dig into to anything more specific 🙂