[guadec-web] Added HAMLpy templates generation to deploy script



commit c1b16ca4a58d6a978d70e13f4e7f2053f18d75e9
Author: Oliver Gutierrez <ogutsua gmail com>
Date:   Mon Mar 5 10:39:02 2018 +0000

    Added HAMLpy templates generation to deploy script

 deploy.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/deploy.sh b/deploy.sh
index 1577021..46bd856 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -24,7 +24,9 @@ if [ ! -d node_modules ]; then
 fi
 
 echo "Generating website"
-grunt && pelican -s publishconf.py -o $OUTPUT_DIR && \
+grunt && \
+    hamlpy-watcher ./src/haml/ ./themes/website/templates/ --attr-wrapper \" --once && \
+    pelican -s publishconf.py -o $OUTPUT_DIR && \
     echo "Publishing data to $OUTPUT_BRANCH branch" && \
     git checkout $OUTPUT_BRANCH && \
     git --git-dir=.git --work-tree=$OUTPUT_DIR add $OUTPUT_DIR/. && \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]