Repository: mahout Updated Branches: refs/heads/master 2613883f2 -> c80e00f89
[WEBSITE] Jekyll build path command updates Project: http://git-wip-us.apache.org/repos/asf/mahout/repo Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/c80e00f8 Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/c80e00f8 Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/c80e00f8 Branch: refs/heads/master Commit: c80e00f894779b9c937eea280b3b7c39d07ed610 Parents: 2613883 Author: Trevor a.k.a @rawkintrevo <[email protected]> Authored: Wed Nov 29 14:53:23 2017 -0600 Committer: Trevor a.k.a @rawkintrevo <[email protected]> Committed: Wed Nov 29 14:53:23 2017 -0600 ---------------------------------------------------------------------- website/build_site.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mahout/blob/c80e00f8/website/build_site.sh ---------------------------------------------------------------------- diff --git a/website/build_site.sh b/website/build_site.sh index 647d21e..adb95a2 100755 --- a/website/build_site.sh +++ b/website/build_site.sh @@ -12,21 +12,21 @@ curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH} mkdir -p ${GEM_HOME}/gems gem install --install-dir ${GEM_HOME} bundler export PATH=${GEM_HOME}/bin:$PATH -(cd oldsite && bundle install --path ${GEM_HOME}) -(cd oldsite && bundle) -(cd oldsite && bundle exec jekyll build --destination $WORKDIR) -(cd docs && bundle install --path ${GEM_HOME}) -(cd docs && bundle) -(cd docs && bundle exec jekyll build --destination $WORKDIR/docs/latest) +(cd website/oldsite && bundle install --path ${GEM_HOME}) +(cd website/oldsite && bundle) +(cd website/oldsite && bundle exec jekyll build --destination $WORKDIR) +(cd website/docs && bundle install --path ${GEM_HOME}) +(cd website/docs && bundle) +(cd website/docs && bundle exec jekyll build --destination $WORKDIR/docs/latest) # Set env for docs MAHOUT_VERSION=0.13.0 DISTFILE=apache-mahout-distribution-$MAHOUT_VERSION.tar.gz -DISTPATH=http://mirrors.ocf.berkeley.edu/apache/mahout/$MAHOUT_VERSION/$DISTFILE +DISTPATH= https://dist.apache.org/repos/dist/release/mahout/$MAHOUT_VERSION/$DISTFILE # Copy API docs into _site -wget -P $WORKDIR $DISTPATH +wget -P $WORKDIR $DISTPATH -q tar -C $WORKDIR -xzf $WORKDIR/$DISTFILE apache-mahout-distribution-$MAHOUT_VERSION/docs mkdir -p $WORKDIR/docs/$MAHOUT_VERSION/api mv $WORKDIR/apache-mahout-distribution-$MAHOUT_VERSION/docs $WORKDIR/docs/$MAHOUT_VERSION/api
