forked from kevadesu/forgejo
[CLI] implement forgejo-cli actions register
(cherry picked from commit 2f95143000
)
This commit is contained in:
parent
e085d6d273
commit
42f2f8731e
9 changed files with 517 additions and 7 deletions
|
@ -56,6 +56,7 @@ func Routes() *web.Route {
|
|||
// Since internal API will be sent only from Gitea sub commands and it's under control (checked by InternalToken), we can trust the headers.
|
||||
r.Use(chi_middleware.RealIP)
|
||||
|
||||
r.Post("/actions/register", ActionsRunnerRegister)
|
||||
r.Post("/ssh/authorized_keys", AuthorizedPublicKeyByContent)
|
||||
r.Post("/ssh/{id}/update/{repoid}", UpdatePublicKeyInRepo)
|
||||
r.Post("/ssh/log", bind(private.SSHLogOption{}), SSHLog)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue