Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fail build if jekyll site generation fails

  • Loading branch information...
commit f012220469d99e12d8ad3f77df977c759a9c3f20 1 parent 8e1f60c
@burkemw3 burkemw3 authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/language_pack/ruby.rb
View
3  lib/language_pack/ruby.rb
@@ -436,5 +436,8 @@ def run_assets_precompile_rake_task
def generate_jekyll_site
puts "Building jekyll site"
run("env PATH=$PATH bundle exec jekyll")
+ unless $? == 0
+ error "Failed to generate site with jekyll."
+ end
end
end

0 comments on commit f012220

Please sign in to comment.
Something went wrong with that request. Please try again.