Split building and deployment into separate make targets

This commit is contained in:
Eryn Wells 2022-11-12 07:50:06 -08:00
parent 6842511b10
commit da88d389e9

View file

@ -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)