projects
/
blog.scompo.it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f17e4b
)
Added deploy scripts.
author
Mauro Scomparin
<scompo@gmail.com>
Sun, 6 Sep 2020 22:30:29 +0000
(22:30 +0000)
committer
Mauro Scomparin
<scompo@gmail.com>
Sun, 6 Sep 2020 22:30:29 +0000
(22:30 +0000)
scripts/deploy
[new file with mode: 0755]
patch
|
blob
diff --git a/scripts/deploy
b/scripts/deploy
new file mode 100755
(executable)
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/
+