From c331bbed4fc29e6bc861a417d6b02120441ee696 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 18 Oct 2016 09:08:06 +0200 Subject: Deploy generated site from root instead of source directory. --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh index c93f144..db92d6d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -44,7 +44,7 @@ then fi echo "** Building site:" -bundle exec jekyll build -s blog +bundle exec jekyll build -s blog buildres=$? source "deploy_$target.rc" @@ -52,5 +52,5 @@ source "deploy_$target.rc" if [[ $buildres == 0 ]]; then echo "** Deploying to: $deploy_to_path" - rsync -avzz blog/_site/* $deploy_to_path + rsync -avzz _site/* $deploy_to_path fi -- cgit v1.2.3