diff options
Diffstat (limited to 'dynamic.mk')
-rw-r--r-- | dynamic.mk | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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/ |