drone-gogs/README.md

559 B

Create a user on Gogs for posting build notifications (like 'buildbot') and generate a token for it. Insert the token as a drone secret. (Replace $VALUE with the actual token)

drone secret add dan/gogs-notify-test --name gogs_account_token --value $VALUE --event pull_request

Use in .drone.yml:

notify-gogs:
  image: mindstab/drone-gogs
  when:
    event: pull_request
  secrets: [gogs_account_token]
  gogs_url: https://git.yourdomain.com