summaryrefslogtreecommitdiff
path: root/deploy-site.sh
diff options
context:
space:
mode:
authorBen Sanders <ben@sanders.life>2025-11-11 08:59:29 -0500
committerBen Sanders <ben@sanders.life>2025-11-11 08:59:29 -0500
commit1fb6457f6245ec5af91d3c16ce5c01ec0c80ab80 (patch)
tree51cdae7107a5b060048e6ea82df193dece424045 /deploy-site.sh
parentce91c2ffeafacd770958d6041779d1aca8c05091 (diff)
removed subtitle for now
Diffstat (limited to 'deploy-site.sh')
-rw-r--r--deploy-site.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/deploy-site.sh b/deploy-site.sh
index 19008a1..feadc59 100644
--- a/deploy-site.sh
+++ b/deploy-site.sh
@@ -1,16 +1,12 @@
#!/bin/bash
-JEKYLL_DIR="/_site"
-DEPLOY_USER="ben"
-DEPLOY_HOST="64.42.180.156"
-DEPLOY_PORT="522"
+JEKYLL_DIR="_site"
+DEPLOY_HOST="personalprod"
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
+rsync -avz --delete "${JEKYLL_DIR}/" "$DEPLOY_HOST:$DEPLOY_PATH"
echo "Deployment complete." \ No newline at end of file