summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 07465dc..f2665ec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
MODS = $(shell git submodule | awk '{print $$2}')
-all: fmt ${MODS}
+build: fmt ${MODS}
hugo build
find public -name '*.html' -exec tidy -mqi {} \;
@@ -9,9 +9,6 @@ fmt:
publish: build
rsync -rz --delete public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/
- $(eval CID := $(shell ipfs add -r public | tail -n1 | awk '{print $$2}')) \
- ssh m900 "IPFS_PATH=/var/kubo ipfs pin add -r ${CID}"
- ipfs name publish --key=www.samanthony.xyz ${CID}
serve: build
hugo serve -DEF