mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-11 23:35:57 +08:00
Merge branch 'dev_devops' of http://gitea.trustie.net/jasder/forgeplus into dev_devops
This commit is contained in:
@@ -23,7 +23,6 @@ class DevOps::CloudAccountsController < ApplicationController
|
||||
cloud_account.save!
|
||||
end
|
||||
|
||||
|
||||
# 2. 生成oauth2应用程序的client_id和client_secrete
|
||||
gitea_oauth = Gitea::Oauth2::CreateService.call(current_user.gitea_token, {name: "pipeline", redirect_uris: ["#{cloud_account.drone_url}/login"]})
|
||||
logger.info "######### gitea_oauth: #{gitea_oauth}"
|
||||
|
||||
Reference in New Issue
Block a user