summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/deploy.sh b/deploy.sh
index 577fe19..c93f144 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -44,15 +44,13 @@ then
fi
echo "** Building site:"
-pushd blog
-bundle exec jekyll build
+bundle exec jekyll build -s blog
buildres=$?
-popd
source "deploy_$target.rc"
if [[ $buildres == 0 ]];
then
echo "** Deploying to: $deploy_to_path"
- scp -r blog/_site/* $deploy_to_path
+ rsync -avzz blog/_site/* $deploy_to_path
fi