diff options
author | Tom Willemse | 2021-07-04 02:10:20 -0700 |
---|---|---|
committer | Tom Willemse | 2021-07-04 02:10:20 -0700 |
commit | 4730feae4e61a7198f869596a7401ec6be5d78fc (patch) | |
tree | d2a4a0c70f5d12fc00cf7bd353989f7f8f1d7fd3 /GNUmakefile | |
parent | c9f9a30c2167ec6a47b08a9a32ecf3140c398ec4 (diff) | |
download | new-ryuslash.org-4730feae4e61a7198f869596a7401ec6be5d78fc.tar.gz new-ryuslash.org-4730feae4e61a7198f869596a7401ec6be5d78fc.zip |
Add `deploy' target to send updates to my site
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 9 |
1 files changed, 7 insertions, 2 deletions
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..." |