summaryrefslogtreecommitdiff
path: root/deploy-site.sh
diff options
context:
space:
mode:
authorBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-13 10:02:12 -0400
committerBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-13 10:02:12 -0400
commit5d4d34a9d6c7c617c36a6d217bc5aabc95f08162 (patch)
tree4a1863d9d4b11ed14a0478fd6e9642a14e61fc5d /deploy-site.sh
parent5e41030a5df9de52d481130acfd30b8194a36a70 (diff)
added deploy-site.sh
Diffstat (limited to 'deploy-site.sh')
-rw-r--r--deploy-site.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/deploy-site.sh b/deploy-site.sh
new file mode 100644
index 0000000..19008a1
--- /dev/null
+++ b/deploy-site.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+JEKYLL_DIR="/_site"
+DEPLOY_USER="ben"
+DEPLOY_HOST="64.42.180.156"
+DEPLOY_PORT="522"
+DEPLOY_PATH="/data/sites/ben.sanders.life/html"
+
+# cd "$JEKYLL_DIR"
+# bundle exec jekyll build
+
+rsync -avz --delete -e "ssh -p $DEPLOY_PORT" \
+ _site/ \
+ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
+
+echo "Deployment complete." \ No newline at end of file