From 8dd624d339f877f2e5d3e328082885501b69a91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Fri, 21 Oct 2022 20:18:01 +0200 Subject: [PATCH] Cleanup old notes on upload before building new ones. --- scripts/upload.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upload.sh b/scripts/upload.sh index ca0a213..482106c 100644 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -10,6 +10,7 @@ scp homepage.html root@codigoparallevar.com:/mnt/vols/misc/codigoparallevar/inde # Build notes cd ../scripts +rm -Rf ../_gen/notes WATCH_AND_REBUILD=0 python3 generate.py ~/.logs/brain ../_gen/notes # Upload notes