summaryrefslogtreecommitdiff
path: root/live.sh
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-06 16:56:28 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-06 16:56:28 +1030
commit430618c0b91f6ace59ff0bce0569430a6e426384 (patch)
tree23d0acaa7699469d52ed2f51a54f0f398a302bd8 /live.sh
parentd20ac9420934560f749e3fe1eedbf44743404d20 (diff)
downloadwebsite-master.tar.gz
website-master.zip
added script to push site liveHEADmaster
Diffstat (limited to 'live.sh')
-rwxr-xr-xlive.sh12
1 files changed, 1 insertions, 11 deletions
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