From 5d4d34a9d6c7c617c36a6d217bc5aabc95f08162 Mon Sep 17 00:00:00 2001 From: Benjamin Sanders Date: Mon, 13 Oct 2025 10:02:12 -0400 Subject: added deploy-site.sh --- deploy-site.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 deploy-site.sh 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 -- cgit v1.2.3