Added deploy scripts.
authorMauro Scomparin <scompo@gmail.com>
Sun, 6 Sep 2020 22:30:29 +0000 (22:30 +0000)
committerMauro Scomparin <scompo@gmail.com>
Sun, 6 Sep 2020 22:30:29 +0000 (22:30 +0000)
scripts/deploy [new file with mode: 0755]

diff --git a/scripts/deploy b/scripts/deploy
new file mode 100755 (executable)
index 0000000..d38945a
--- /dev/null
@@ -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/
+