summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..c6e5996
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,10 @@
1#!/bin/sh
2USER=root
3HOST=letsworship.xyz
4DIR=/var/www/letsworship
5
6rm -rf public
7
8hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR}
9
10exit 0 \ No newline at end of file