gitdrone.iogogs

GOGS secret key


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.


Solution

  • 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 Ben comments:

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