From f0bc7cf52fc671103e1fe3a4f373f1dc8c738311 Mon Sep 17 00:00:00 2001 From: geoffroy-noel-ddh Date: Fri, 23 Aug 2024 14:56:05 +0100 Subject: [PATCH] feat(search): added pagefind text indexing to the regular autopull bash script. --- _build/autopull.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_build/autopull.sh b/_build/autopull.sh index 66fc2bf6f..a3b747a6e 100755 --- a/_build/autopull.sh +++ b/_build/autopull.sh @@ -49,6 +49,8 @@ if [[ $h1 != $h2 ]]; then # fi fi +su - $GITUSER -c "export SITE_ENV=$SITE_ENV; cd $PROJECT_DIR/apps/textsearch/ && npm run index" + # update tweets # su - $GITUSER -c "cd $PROJECT_DIR && npm run tweets -w frontend"