GOGS秘密金钥 [英] GOGS secret key

查看:417
本文介绍了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史蒂夫 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:

looks like tokens can be generated in GOGS at /user/settings/applications

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆