diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/generate_bearer_token | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/generate_bearer_token b/script/generate_bearer_token index 7091a8d..60e4600 100755 --- a/script/generate_bearer_token +++ b/script/generate_bearer_token @@ -73,10 +73,12 @@ else else secrets["development"]["twitter"]["twitter_handle"] = options[:twitterhandle] secrets["test"]["twitter"]["twitter_handle"] = options[:twitterhandle] + secrets["production"]["twitter"]["twitter_handle"] = options[:twitterhandle] end secrets["development"]["twitter"]["bearer_token"] = $bearer_token secrets["test"]["twitter"]["bearer_token"] = $bearer_token + secrets["production"]["twitter"]["twitter_handle"] = $bearer_token File.open("#{options[:projectroot]}/leap_web/config/secrets.yml", "r+") do |file| file.write(secrets.to_yaml) |