From 430618c0b91f6ace59ff0bce0569430a6e426384 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Mon, 6 Jan 2020 16:56:28 +1030 Subject: added script to push site live --- live.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'live.sh') diff --git a/live.sh b/live.sh index 5c9746c..a5f79ee 100755 --- a/live.sh +++ b/live.sh @@ -1,14 +1,4 @@ -python3 generatesite.py -python3 generatesite.py templates/template_dark.txt dark -python3 generatesite.py templates/template_nocss.txt nocss -python3 generatesite.py templates/template_kawaii.txt kawaii -python3 generatesite.py templates/template_light.txt light -python3 generatesite.py templates/template_solarized.txt solarized +./generate cp -r output/* /var/www/html chmod -R +r /var/www/html/blog chmod -R +r /var/www/html/posts -chmod -R +r /var/www/html/dark -chmod -R +r /var/www/html/kawaii -chmod -R +r /var/www/html/nocss -chmod -R +r /var/www/html/light -chmod -R +r /var/www/html/solarized -- cgit v1.2.3