From e728c3a2cbd06d95cd1226d3b23473816bd0d67e Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 14 Aug 2022 18:14:07 +0200 Subject: Move to rsync to deploy the website --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d6b6c09..2533f5b 100644 --- a/Makefile +++ b/Makefile @@ -36,5 +36,5 @@ server: python3 -m http.server 8000 --directory public deploy: build - cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ + rsync -a --delete public/ root@165.22.87.180:/var/www/html/mitjafelicijan.com/ ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf -- cgit v1.2.3