diff options
Diffstat (limited to 'deploy-site.sh')
| -rw-r--r-- | deploy-site.sh | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
