summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Kohl <gitlab@jonaskohl.de>2024-07-19 13:36:48 +0200
committerJonas Kohl <gitlab@jonaskohl.de>2024-07-19 13:36:48 +0200
commit63fe1d9cc50fef591f5a6b1813804d40e1d302d7 (patch)
tree8c67ddb2b8666dd0e92852af9c6dcf36d5e9c32a /Makefile
parent22327394454fe28c83d58f9f1b61f82b45d09052 (diff)
Add publishing task
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3947888..ee0da47 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
SRCFILES:=$(shell find src/pages/ -type f -name '*.php')
HTMLTARGETS:=$(SRCFILES:src/pages/%.php=build/%.html)
-.PHONY: build/static
+.PHONY: build/static publish
all: $(HTMLTARGETS) $(STATICFILES) build/static
@@ -14,3 +14,6 @@ build/%.html: src/pages/%.php src/template.php
clean:
rm -Rf build
+
+publish:
+ neocities push build