Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Updating build script for ASF Jenkins.
  • Loading branch information
johnament committed Jun 22, 2017
1 parent 49b992f commit 4a2008015dc1c2880fb6a80495b0b6e67e0bf28a
Showing 1 changed file with 8 additions and 2 deletions.
@@ -1,9 +1,15 @@
#!/bin/bash

WORKDIR=/tmp/incubator-ariatosca-site
rm -rf $WORKDIR
mkdir -p $WORKDIR
gem install bundler
export RUBY_PATH=~/shared/.rvm
export GEM_HOME=${RUBY_PATH}/gems
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
bundle install --path ${GEM_HOME}
bundle
bundle exec jekyll build --destination $WORKDIR $WORKDIR
git checkout asf-site
git clean -f -d

0 comments on commit 4a20080

Please sign in to comment.