aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-08-14 18:14:07 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-08-14 18:14:07 +0200
commite728c3a2cbd06d95cd1226d3b23473816bd0d67e (patch)
tree820caef967e9ba4cb25509a828dfe3f8d8318fc6 /Makefile
parent8184c73662e2ef54bf6ebcaada00dd8681846503 (diff)
downloadmitjafelicijan.com-e728c3a2cbd06d95cd1226d3b23473816bd0d67e.tar.gz
Move to rsync to deploy the website
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6b6c09..2533f5b 100644
--- a/Makefile
+++ b/Makefile
@@ -36,5 +36,5 @@ server:
36 python3 -m http.server 8000 --directory public 36 python3 -m http.server 8000 --directory public
37 37
38deploy: build 38deploy: build
39 cd public && scp -r * root@165.22.87.180:/var/www/html/mitjafelicijan.com/ 39 rsync -a --delete public/ root@165.22.87.180:/var/www/html/mitjafelicijan.com/
40 ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf 40 ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf