aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 10:00:18 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 10:00:18 +0200
commit2ea63cf9f2b5739245e6b91033f9e41fea6a3971 (patch)
tree740e2fc7c0179c030f88a8fc4ebea8bc7ac8fbcb /Makefile
parent6573a54c50738e455b2b0d4863498b916046a466 (diff)
Deploy new post
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 95389e9..64189a3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
deploy:
hugo
- rsync -avz --delete public/ ubuntu@feed.kagamino.dev:~/kagamino_blog/
- rsync -avz deploy.sh ubuntu@feed.kagamino.dev:~/deploy.sh
- ssh ubuntu@feed.kagamino.dev 'sudo bash deploy.sh'
+ rsync --rsync-path="sudo rsync" -avz --delete public/ ubuntu@feed.kagamino.dev:/var/www/kagamino_blog/
dev:
hugo server -D