Go to file
Dan Ballard dc3c9f6229 ENTRYPOINT arg in quotes 2018-07-07 14:13:09 -05:00
Dockerfile ENTRYPOINT arg in quotes 2018-07-07 14:13:09 -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