diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-30 13:09:33 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-30 13:09:33 +0200 |
commit | e23397b366193009fcb38563ade900d49b8e434a (patch) | |
tree | 84e9e4181d6b5f522ab027cfd8e2a13387df3f99 /Makefile | |
parent | c1b6e5a49838463df3a90e83bd445863fb862356 (diff) | |
download | sousleciel.lol-e23397b366193009fcb38563ade900d49b8e434a.tar.gz |
refactor(Makefile): do not remove public/private remote dirs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,5 +26,5 @@ clean: deploy: site find out -type f \( -iname "*.html" -o -iname "*.css" -o -iname "*.svg" \) -exec gzip -kf {} \; - rsync -e ssh -avz --delete $(OUTPUT_DIR)/ $(REMOTE_HOST):$(REMOTE_DIR) + rsync -e ssh -avz --delete --exclude public --exclude private $(OUTPUT_DIR)/ $(REMOTE_HOST):$(REMOTE_DIR) ssh $(REMOTE_HOST) chown -R www:www $(REMOTE_DIR) |