aboutsummaryrefslogtreecommitdiff
path: root/dynamic.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic.mk')
-rw-r--r--dynamic.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/dynamic.mk b/dynamic.mk
index 8b7bc14..585c15d 100644
--- a/dynamic.mk
+++ b/dynamic.mk
@@ -101,5 +101,10 @@ run: all
open 'http://localhost:$(PORT)'
serve -d public/ -p $(PORT)
-deploy: all
- rsync -avzP public/ $(FQDN):/srv/www --delete
+upload: all
+ rsync \
+ --rsync-path='sudo -u deployer rsync' \
+ -avzP \
+ --delete \
+ --exclude 's/*' \
+ public/ $(FQDN):/srv/www/