summaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy8
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy b/deploy
new file mode 100755
index 0000000..3b076c6
--- /dev/null
+++ b/deploy
@@ -0,0 +1,8 @@
+#!/bin/sh
+USER="root"
+HOST="gustafrydholm.xyz"
+DIR="/var/www/$HOST" # the directory where your web site files should go
+
+hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} # this will delete everything on the server that's not in the local public folder
+
+exit 0