Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Don't override JEKYLL_ENV in Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Apr 26, 2016
1 parent 17970b9 commit f667f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end

desc 'Generate and test a production build of the Jekyll site'
task build: :clean do
ENV['JEKYLL_ENV'] = 'production'
ENV['JEKYLL_ENV'] ||= 'production'
sh(*%W(bundle exec jekyll build
--config _config.yml,_config.#{ENV['JEKYLL_ENV']}.yml))
HTMLProofer.check_directory('dist', disable_external: true).run
Expand Down

0 comments on commit f667f35

Please sign in to comment.