From 25719502c2a3fca3da6960f835d10fd5198a5c11 Mon Sep 17 00:00:00 2001 From: corybiscuit Date: Sun, 24 Aug 2025 13:39:49 -0400 Subject: [PATCH] Updated build script to ignore /fileshare --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index af54b54..1acca9a 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ read -s SSH_PASSWORD echo "Thank you! Your password has been securely collected." # Clean up the web server directory -sshpass -p "$SSH_PASSWORD" ssh cory@10.10.10.40 'sudo rm -rf /var/caddy/docs.bsct.io/www/*' +sshpass -p "$SSH_PASSWORD" ssh cory@10.10.10.40 'find /var/caddy/docs.bsct.io/www -mindepth 1 ! -regex `^/var/caddy/docs.bsct.io/www/fileshare\(/.*\?' -delete # Copy the built documentation to the web server sshpass -p "$SSH_PASSWORD" scp -r ./site/* cory@10.10.10.40:/var/caddy/docs.bsct.io/www/