From 2c603b776462d232d74334e802a57ad94faa123f Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 25 Sep 2023 08:33:59 +0200 Subject: build: Deploy after sync --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5c44de5..ae5c512 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,5 @@ deploy: hugo rsync -avz --delete public/ ubuntu@nextcloud.kagamino.dev:~/kagamino_blog/ rsync -avz deploy.sh ubuntu@nextcloud.kagamino.dev:~/deploy.sh - rsync -avz apache.conf ubuntu@nextcloud.kagamino.dev:~/kagamino_blog.conf \ No newline at end of file + rsync -avz apache.conf ubuntu@nextcloud.kagamino.dev:~/kagamino_blog.conf + ssh ubuntu@nextcloud.kagamino.dev 'sudo bash deploy.sh' \ No newline at end of file -- cgit v1.3