From 2e9c9b38494f98c635e8c893324d76a496e3e3ec Mon Sep 17 00:00:00 2001 From: Ethan Marshall Date: Fri, 2 Aug 2024 00:42:43 +0100 Subject: [PATCH] Add siteupdate script --- siteupdate | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 siteupdate diff --git a/siteupdate b/siteupdate new file mode 100755 index 0000000..ecb302b --- /dev/null +++ b/siteupdate @@ -0,0 +1,7 @@ +#!/bin/sh + +rm -rf public/ +hugo + +ssh root@ejv2.cc rm -rf /var/www/html/ +rsync -r public/ ejv2.cc:/var/www/html/