summaryrefslogtreecommitdiff
path: root/_site/deploy-site.sh
diff options
context:
space:
mode:
authorBen Sanders <ben@sanders.life>2025-11-29 15:58:18 -0500
committerBen Sanders <ben@sanders.life>2025-11-29 15:58:18 -0500
commitee03a19e3a538c33e2294a8292635dc88f27d9c8 (patch)
treebbeb5e0c0b18c799d77d24e94ad77ca369c1c1b8 /_site/deploy-site.sh
parent5633dd01c8e5ef2c48d2d11fb92ee5549ed12739 (diff)
published article on removing malware and edited the README file
Diffstat (limited to '_site/deploy-site.sh')
-rw-r--r--_site/deploy-site.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/_site/deploy-site.sh b/_site/deploy-site.sh
new file mode 100644
index 0000000..d039515
--- /dev/null
+++ b/_site/deploy-site.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+JEKYLL_DIR="/_site"
+DEPLOY_USER="sanderstggrp"
+DEPLOY_HOST="64.42.181.202"
+DEPLOY_PORT="22"
+DEPLOY_PATH="/home/sanderstggrp/web/sanderstechnologygroup.com/public_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