debian-mirror-gitlab/config/initializers/public_key.rb
2015-04-26 09:18:37 +02:00

3 lines
126 B
Ruby

path = File.expand_path("~/.ssh/bitbucket_rsa.pub")
Gitlab::BitbucketImport.public_key = File.read(path) if File.exist?(path)