创建私密仓库

dev_daiao
daiao 6 years ago
parent bc9534cf88
commit 071d155d4c

@ -1030,7 +1030,7 @@ private
# 防止跟tpm版本库重名加了前缀secret
repo_path = repo_namespace(current_user.login, "secret_#{@shixun.identifier}")
GitService.add_repository(repo_path: repo_path)
@shixun.shixun_secret_repository.create!(repo_name: repo_path.split(".")[0])
@shixun.shixun_secret_repository.create(repo_name: repo_path.split(".")[0])
end
end

Loading…
Cancel
Save