BitBalloon / middleman-bitballoon

Deploys a Middleman built site to BitBalloon
MIT License
6 stars 1 forks source link

token not working #1

Closed scottkellum closed 9 years ago

scottkellum commented 9 years ago

My configuration doesn’t seem to be working. I have this in my config.rb file:

activate :bitballoon do |bitballoon|
  bitballoon.token = ENV['7c1a67efda52081541fd6ec01f890b161fd835d87162380d445ab896bed84ce0']
  bitballoon.site  = "modularscale.bitballoon.com"
end

And I am getting the following:

scottkellum:modularscale scottkellum$ bundle exec middleman deploy
ERROR: The bitballoon extension requires you to set a token.

Configure the bitballoon extension in config.rb:

activate :bitballoon do |bitballoon|
  bitballoon.token = ENV['BB_TOKEN']
  bitballoon.site  = "mysite.bitballoon.com"
end

(I revoked the token for this issue)

biilmann commented 9 years ago

Either use:

activate :bitballoon do |bitballoon|
  bitballoon.token = ENV['7c1a67efda52081541fd6ec01f890b161fd835d87162380d445ab896bed84ce0']
  bitballoon.site  = "modularscale.bitballoon.com"
end

in config.rb

or use this in config.rb without any changes:

activate :bitballoon do |bitballoon|
  bitballoon.token = ENV['BB_TOKEN']
  bitballoon.site  = "mysite.bitballoon.com"
end

And then run:

export BB_TOKEN= 7c1a67efda52081541fd6ec01f890b161fd835d87162380d445ab896bed84ce0
bundle exec middleman deploy

That should make it work :)

wathika commented 8 years ago

I'm also having the same problem and the obove doesnt work