GOGS secret key

2019-05-31 03:32发布

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.

标签: git drone Gogs
2条回答
啃猪蹄的小仙女
2楼-- · 2019-05-31 03:49

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

查看更多
男人必须洒脱
3楼-- · 2019-05-31 03:50

enter image description here

Aha! Look what I found while digging around in gogs/custom/conf/app.ini. I haven't had time to test it, but this looks to be the answer.

查看更多
登录 后发表回答