#!/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."