本文介绍了GOGS秘密金钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Drone CI服务器与GOGS Git服务器集成.

这里有一个非常清晰的文档,说明了如何执行此操作: http://readme.drone .io/setup/config/gogs/

...表明我需要以下配置:

[gogs]
url = "http://gogs.drone.io"
secret = "c0aaff74c060ff4a950d"

这个秘密来自哪里?我似乎在任何地方的GOGS中都找不到它.

解决方案

该密钥"c0aaff74c060ff4a950d"在整个文档中似乎都是相同的.
config/github 中,您可以看到通过注册过程生成的密钥./p>

类似地, OP史蒂夫 :

I'm trying to integrate the Drone CI server with the GOGS Git server.

There's a pretty clear document on how to do so here: http://readme.drone.io/setup/config/gogs/

...which indicates I need the following configuration:

[gogs]
url = "http://gogs.drone.io"
secret = "c0aaff74c060ff4a950d"

Where does this secret come from? I can't seem to find it in GOGS anywhere.

解决方案

That secret key "c0aaff74c060ff4a950d" seems to be the same all over the doc.
In config/github, you can see that key generated through a registration process.

Similarly, the OP Steve comments:

这篇关于GOGS秘密金钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 03:30