Go to file
Dan Ballard 6b36560b6d initial import of gogs-notify script and a Docerkfile 2018-07-07 13:33:49 -05:00
Dockerfile initial import of gogs-notify script and a Docerkfile 2018-07-07 13:33:49 -05:00
README.md initial import of gogs-notify script and a Docerkfile 2018-07-07 13:33:49 -05:00
gogs-notify initial import of gogs-notify script and a Docerkfile 2018-07-07 13:33:49 -05:00

README.md

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

drone secret add dan/gogs-notify-test --name gogs_account_token --value $VALUE --event pull-request --event push --event tag --event deployment

Use in drone.yml:

notify-gogs:
  image: drone-gogs
  when:
    event: pull_request
  secrets: [gogs_account_token]
  gogs_url: https://git.openprivacy.ca