aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-04-11 17:12:42 -0300
committerEuAndreh <eu@euandre.org>2022-04-11 17:13:24 -0300
commit87e5af6397728c056abc72663e74b51e49691ddd (patch)
treed3a314f580383e733907cf473ccb6702f84f494c
parentAdd .well-known/security.txt (diff)
downloadeuandre.org-87e5af6397728c056abc72663e74b51e49691ddd.tar.gz
euandre.org-87e5af6397728c056abc72663e74b51e49691ddd.tar.xz
Makefile: Use $(JEKYLL) and include JEKYLL_ENV=production
-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