summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-10-18 09:08:06 +0200
committerHarald Eilertsen <haraldei@anduin.net>2016-10-18 09:08:06 +0200
commitc331bbed4fc29e6bc861a417d6b02120441ee696 (patch)
treefd0274c9488e02eff9997983567e8f7b4beaba87
parent3ea16ae84944a7b86a68c528ee650ea51e975771 (diff)
downloadnorsk-urskog-main-c331bbed4fc29e6bc861a417d6b02120441ee696.tar.gz
norsk-urskog-main-c331bbed4fc29e6bc861a417d6b02120441ee696.tar.bz2
norsk-urskog-main-c331bbed4fc29e6bc861a417d6b02120441ee696.zip
Deploy generated site from root instead of source directory.
-rwxr-xr-xdeploy.sh4
1 files changed, 2 insertions, 2 deletions
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