From dbf2abca6b23db114167743488026246db55cf88 Mon Sep 17 00:00:00 2001 From: Ruben Date: Tue, 14 Oct 2025 08:18:58 -0500 Subject: [PATCH] chain updating website commands, this probably didn't work before --- helperbot | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/helperbot b/helperbot index 8f2fbe2..90afd3c 100755 --- a/helperbot +++ b/helperbot @@ -243,11 +243,16 @@ function system_upgrade { echo "${red}Error(site)${normal}: npm is not installed. Please install it and try again. Beep!" exit 1 fi - cd /var/www/site && /var/www/site/gen.sh + cd /var/www/site && git pull && \ + npm install && \ + rm -rf ./_site && \ + npx @11ty/eleventy && \ + npx -y pagefind --site _site # pds-dash echo "${blue}Updating pds-dash...${normal}" - git pull /var/www/pds-dash - cd /var/www/pds-dash && deno install && deno task build + cd /var/www/pds-dash && git pull && \ + deno install && \ + deno task build # done echo "${green}System upgrade finished! beep!~${normal}" fi