gitlab-org--gitlab-foss/config/initializers/public_key.rb

3 lines
126 B
Ruby
Raw Normal View History

2015-03-20 23:13:03 +00:00
path = File.expand_path("~/.ssh/bitbucket_rsa.pub")
2015-02-18 07:21:30 +00:00
Gitlab::BitbucketImport.public_key = File.read(path) if File.exist?(path)