diff options
author | EuAndreh <eu@euandre.org> | 2023-04-03 07:46:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-03 07:46:58 -0300 |
commit | 1f8888ed4123c51f76d62bbd0412a0d8143ca092 (patch) | |
tree | 99fbeb7f981aa87ebe758fe35f19faf12b082c3d /dynamic.mk | |
parent | Replace kuvira -> toph (diff) | |
download | euandre.org-1f8888ed4123c51f76d62bbd0412a0d8143ca092.tar.gz euandre.org-1f8888ed4123c51f76d62bbd0412a0d8143ca092.tar.xz |
dynamic.mk: Use "deployer" user in s/deploy/upload/ target
Diffstat (limited to '')
-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/ |