blob: 19008a12dd5972a4f5760204f8242a26b657468a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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."
|