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

2 lines
118 B
Ruby
Raw Normal View History

2015-02-17 21:52:32 +00:00
path = File.expand_path("~/.ssh/id_rsa.pub")
Gitlab::BitbucketImport.public_key = File.read(path) if File.exist?(path)