@@ -32,11 +32,13 @@ jobs:
git reset --hard `git rev-list --max-parents=0 HEAD`
cd ..
+
- name: Build
run: |
cd project
chmod +x ./make.sh
- NO_CONTAINER=1 HEADLESS=1 ./make.sh
+ NO_CONTAINER=1 HEADLESS=1 ./make.sh
mkdir -p public
echo "1" > public/.nojekyll
@@ -24,6 +24,11 @@ then
fi
+if [ "$DONT_COMPILE_LESS" = "" ];
+then
+ export CMD="npm install less -g&&lessc static/css/style.less static/css/style.css&&$CMD"
+fi
if [ "$ARGS" = "" ];
then
@@ -62,6 +67,8 @@ then
export ARGS="$ARGS -p$PORT:1313"
if [ "$1" = "server" ];
export CMD="$CMD --bind 0.0.0.0"