summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorAdam Olech <nddr89@gmail.com>2021-10-24 19:02:10 +0200
committerAdam Olech <nddr89@gmail.com>2021-10-24 19:02:10 +0200
commit0deab84c3e65ef3b42e4a5a928b4b8df7ea6bebb (patch)
tree18c03d80b0f90b718ee684ee02a2be7f23628345 /deploy.sh
parente971532833605f9102545202ba04a878ddf214dc (diff)
Add deploy stuff
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..7e5b0f5
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+hugo && rsync -rvz -e 'ssh -p 22' --rsync-path="sudo rsync" --delete public/ adam@aole.ch:/var/www/aole.ch