Skip to content

Commit

Permalink
fix(build): autopull.sh now does a npm ci on the textsearch package b…
Browse files Browse the repository at this point in the history
…efore running it.
  • Loading branch information
geoffroy-noel-ddh committed Sep 2, 2024
1 parent ff93b8b commit 9f03e03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _build/autopull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ if [[ $h1 != $h2 ]]; then
# fi
fi

su - $GITUSER -c "export SITE_ENV=$SITE_ENV; cd $PROJECT_DIR/apps/textsearch/ && npm run index"
# TODO: make it conditional. Wasteful to run indexing regularly without any change in index.
su - $GITUSER -c "export SITE_ENV=$SITE_ENV; cd $PROJECT_DIR/apps/textsearch/ && npm ci && npm run index"

# update tweets
# su - $GITUSER -c "cd $PROJECT_DIR && npm run tweets -w frontend"
Expand Down

0 comments on commit 9f03e03

Please sign in to comment.