Go to file
Dan Ballard af4cb8df5b README; chmod a+x gogs-notify 2018-07-07 14:11:04 -05:00
Dockerfile s/ENTRY-POINT/ENTRYPOINT/ 2018-07-07 13:55:21 -05:00
README.md README; chmod a+x gogs-notify 2018-07-07 14:11:04 -05:00
gogs-notify README; chmod a+x gogs-notify 2018-07-07 14:11:04 -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: mindstab/drone-gogs
  when:
    event: pull_request
  secrets: [gogs_account_token]
  gogs_url: https://git.openprivacy.ca