aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-09-25 08:33:59 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-09-25 08:33:59 +0200
commit2c603b776462d232d74334e802a57ad94faa123f (patch)
tree5748dd33055196d56aba083d6a81aeac11b2e394 /Makefile
parentb8a029e6788393bb55349452f15ef713f782d81b (diff)
build: Deploy after sync
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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