From 64c2d15a012ee4420e53a9cd822194c89fab16fa Mon Sep 17 00:00:00 2001 From: Mauro Scomparin Date: Sun, 6 Sep 2020 22:30:29 +0000 Subject: [PATCH] Added deploy scripts. --- scripts/deploy | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/deploy diff --git a/scripts/deploy b/scripts/deploy new file mode 100755 index 0000000..d38945a --- /dev/null +++ b/scripts/deploy @@ -0,0 +1,6 @@ +#!/bin/bash +# Builds and deploys the changes to the +# webserver dir. + +hugo -D && mv public html && sudo rm -rf /var/www/blog.scompo.it/html && sudo mv html /var/www/blog.scompo.it/ + -- 2.25.1