aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-09-23 19:15:50 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-09-23 19:15:50 +0100
commit07ee93e21c90b31772bd9c16ea1bc3e0d7c316b3 (patch)
tree4369ef5c63093821e753ffcde3a6925e54103a3b
parentbaf8325ad2686ddcfcb22d6246d9e33b59f4994a (diff)
Adjusted for Sourcehut use
-rw-r--r--Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 789183d..6315bd4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,13 @@
+all: clean build deploy
+
build:
./blarg
- # rsync -r public/ build/public
clean:
rm -rf build/*
-
-watch:
- while true; do \
- ls -d .git/* * posts/* pages/* header.html | entr -cd make ;\
- done
-
+ rm site.tar.gz
deploy:
- rsync -arv --exclude '*.tsv' ~/Git/blarg/build/ ~/Git/pages/
+ tar -C build -cvz . > site.tar.gz
+ hut pages publish -d justine.smithies.me.uk site.tar.gz
-.PHONY: build clean watch deploy
+.PHONY: build clean deploy