summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-02-26 11:06:23 -0500
committerSam Anthony <sam@samanthony.xyz>2026-02-26 11:06:23 -0500
commit4a22ce5d9dd64d45555e7d18fc780b54b3f4ec86 (patch)
tree237df633c4314346b175891af1300b7e63704959 /Makefile
parent72bfd0328ddf3a7208a71246b1af9a1494f14793 (diff)
downloadsamanthony.xyz-4a22ce5d9dd64d45555e7d18fc780b54b3f4ec86.zip
publish on ipfs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8faa061..606c1fc 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ build: static/resume.png
publish: build
rsync -rz --delete public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/
+ ipfs add -r public \
+ | tail -n1 | awk '{print $$2}' \
+ | xargs -I{} ssh samanthony.xyz "IPFS_PATH=/var/kubo ipfs pin add -r {}"
serve:
hugo serve -DEF