diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-03-16 17:34:28 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-03-16 17:34:28 -0400 |
| commit | 2ab398cd629a98543e5393829735f3303e5abf1a (patch) | |
| tree | b2df6529d58b501af986b22264af7aa432f6b3a4 /Makefile | |
| parent | 8ee4b8237e2f89ee6d7b06d42d59bd5cddf83af7 (diff) | |
| download | samanthony.xyz-2ab398cd629a98543e5393829735f3303e5abf1a.zip | |
set type in ET Book font
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,13 +1,15 @@ +MODS = themes/aoidh static/resume + build: static/resume.png hugo build 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 {}" + $(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: +serve: build hugo serve -DEF clean: @@ -15,3 +17,7 @@ clean: static/resume.png: static/resume.pdf gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -sOutputFile=$@ $< + +${MODS}: + git submodule init + git submodule update --recursive |