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

3 lines
126 B
Ruby
Raw Normal View History

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