Split building and deployment into separate make targets
This commit is contained in:
parent
6842511b10
commit
da88d389e9
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -2,8 +2,10 @@
|
|||
|
||||
DEPLOY_LOCATION=eryn@nutmeg.erynwells.me:/srv/www/erynwells.me/html
|
||||
|
||||
.PHONY: deploy
|
||||
deploy:
|
||||
.PHONY: site
|
||||
site:
|
||||
hugo
|
||||
rsync -avz --no-times --no-perms --delete public/ $(DEPLOY_LOCATION)
|
||||
|
||||
.PHONY: deploy
|
||||
deploy: site
|
||||
rsync -avz --no-times --no-perms --delete public/ $(DEPLOY_LOCATION)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue