Add `deploy' target to send updates to my site

This commit is contained in:
Tom Willemse 2021-07-04 02:10:20 -07:00
parent c9f9a30c21
commit 4730feae4e

View file

@ -1,6 +1,11 @@
.PHONY: publish html css .PHONY: publish deploy html css
site: html css publish: html css
deploy:
@[[ -e public/index.html ]] || (echo "Run make publish before deploy" && exit 1)
rsync --rsh="ssh -p 4511" --verbose --checksum --recursive --delete \
public/ ryuslash.org:ryuslash-next/
html: html:
@echo "Publishing..." @echo "Publishing..."