aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 279d702..b5c85e4 100644
--- a/Makefile
+++ b/Makefile
@@ -93,12 +93,13 @@ clean:
$(derived-assets) \
torrent-files.txt files.mk deps.mk
+JEKYLL = JEKYLL_ENV=production jekyll
public: $(derived-assets)
- jekyll build
-
-deploy: all
- rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete
+ $(JEKYLL) build
run: all
open 'http://localhost:4000'
- jekyll serve
+ $(JEKYLL) serve
+
+deploy: all
+ rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete