diff --git a/GNUmakefile b/GNUmakefile index 2b53ece..856874f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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: @echo "Publishing..."