summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-12-15 13:03:43 +0100
committerFederico Angelilli <code@fedang.net>2024-12-15 13:03:43 +0100
commit4ff5bfddcf28c265de09819f59bf6d8afd50e2c9 (patch)
treed6a01ed1c581a2e54d15c34d23548c3fc6b47276
parent9f5366d4794f5b0401eb51b3a49a3a46fab7df2c (diff)
Add deploy.sh
-rwxr-xr-xdeploy.sh9
m---------themes/chilldark0
2 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
+
diff --git a/themes/chilldark b/themes/chilldark
-Subproject 5d084c968b2b9beb7a76c05ead44e88e97b7a9d
+Subproject c59627f3be9315cd8548bdcd912046c73f7f144