summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..ea4fcfc
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+USER=chad
+HOST=fedang.net
+DIR=/var/www/html
+
+hugo && rsync -avz --delete public/ --exclude=/.well-known ${USER}@${HOST}:${DIR}
+# this will delete everything on the server that's not in the local public folder
+