diff options
Diffstat (limited to 'deploy-site.sh')
| -rw-r--r-- | deploy-site.sh | 10 |
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 |
