Add `deploy' target to send updates to my site
This commit is contained in:
parent
c9f9a30c21
commit
4730feae4e
1 changed files with 7 additions and 2 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue