open-nomad/website/config.rb

24 lines
649 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"]
2015-10-13 21:51:01 +00:00
h.github_slug = "hashicorp/nomad"
2015-09-12 00:01:02 +00:00
h.minify_javascript = false
end