debian-mirror-gitlab/config/initializers/public_key.rb

3 lines
126 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
path = File.expand_path("~/.ssh/bitbucket_rsa.pub")
Gitlab::BitbucketImport.public_key = File.read(path) if File.exist?(path)