From cc35d207e9d0007f8a5d3b3121f8ad93438a4323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Sko=C5=99epa?= <jakub@skorepa.info> Date: Wed, 9 Mar 2016 19:27:03 +0100 Subject: [PATCH] Update upload script to delete build dir --- upload | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upload b/upload index 403725c8..5b19b66f 100755 --- a/upload +++ b/upload @@ -5,7 +5,8 @@ then read -s LFTP_PASSWORD; export LFTP_PASSWORD fi -rm -rf public/* +rm -rf build +mkdir -p build/theme node index.js --noserver echo "Site compiled" chmod a+X build -R -- GitLab