only run jekyll for 2.5

This commit is contained in:
HoneyryderChuck 2018-02-19 23:35:27 +00:00
parent 9bee782285
commit 722b577eb3

View File

@ -4,8 +4,15 @@ apk add --no-cache g++ make git bash
cd /home && touch Gemfile.lock && \
rm Gemfile.lock && \
bundle install && \
bundle exec rake test:ci && \
bundle exec rake test:ci
RUBY_VERSION=$(ruby -e 'puts RUBY_VERSION')
if [[ $RUBY_VERSION = "2.5"* ]] ;
then
cd www && bundle install && \
bundle exec jekyll build -d public
fi