open-nomad/website/config.rb

23 lines
609 B
Ruby
Raw Normal View History

2015-09-12 00:01:02 +00:00
#-------------------------------------------------------------------------
# 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/"
2015-09-12 00:01:02 +00:00
activate :hashicorp do |h|
h.version = ENV["NOMAD_VERSION"]
2015-09-28 06:28:53 +00:00
h.bintray_enabled = ENV["BINTRAY_ENABLED"] == "1"
h.bintray_repo = "mitchellh/nomad"
2015-09-12 00:01:02 +00:00
h.bintray_user = "mitchellh"
h.bintray_key = ENV["BINTRAY_API_KEY"]
h.minify_javascript = false
end