github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/config.rb (about) 1 #------------------------------------------------------------------------- 2 # Configure Middleman 3 #------------------------------------------------------------------------- 4 5 helpers do 6 def livestream_active? 7 # Must set key for date 8 ENV["LIVESTREAM_ACTIVE"].present? 9 end 10 end 11 12 set :base_url, "https://www.nomadproject.io/" 13 14 activate :hashicorp do |h| 15 h.version = ENV["NOMAD_VERSION"] 16 h.bintray_enabled = ENV["BINTRAY_ENABLED"] == "1" 17 h.bintray_repo = "mitchellh/nomad" 18 h.bintray_user = "mitchellh" 19 h.bintray_key = ENV["BINTRAY_API_KEY"] 20 h.github_slug = "hashicorp/nomad" 21 22 h.minify_javascript = false 23 end