From: Mauro Scomparin Date: Sun, 6 Sep 2020 22:30:29 +0000 (+0000) Subject: Added deploy scripts. X-Git-Url: https://git.scompo.it/?a=commitdiff_plain;h=64c2d15a012ee4420e53a9cd822194c89fab16fa;p=blog.scompo.it.git Added deploy scripts. --- 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/ +