This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge branch 'master' of
https://git.trustie.net/moshenglv/forgeplus
into master
tags/v3.0.0
moshenglv
5 years ago
parent
a3724e80b9
d70168d255
commit
2666a95176
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
app/libs/ci/drone/api.rb
+ 6
- 0
app/libs/ci/drone/api.rb
View File
@@ -78,4 +78,10 @@ class Ci::Drone::API < Ci::Drone::Request
def sync_repos
post(endpoint, "/api/users/repos", drone_token: drone_token)
end
# Creates a user.
# POST /api/users
def create_user
post(endpoint, "/api/users", {login: options[:login], email: "admin@email.com", avatar_url:"",active:true, drone_token: options[:token]})
end
end
Write
Preview
Loading…
Cancel
Save