open-nomad/website/config.rb
2015-09-27 23:28:53 -07:00

23 lines
609 B
Ruby

#-------------------------------------------------------------------------
# Configure Middleman
#-------------------------------------------------------------------------
helpers do
def livestream_active?
# Must set key for date
ENV["LIVESTREAM_ACTIVE"].present?
end
end
set :base_url, "https://www.nomadproject.io/"
activate :hashicorp do |h|
h.version = ENV["NOMAD_VERSION"]
h.bintray_enabled = ENV["BINTRAY_ENABLED"] == "1"
h.bintray_repo = "mitchellh/nomad"
h.bintray_user = "mitchellh"
h.bintray_key = ENV["BINTRAY_API_KEY"]
h.minify_javascript = false
end