Sarah Jamie Lewis
208beac0e6
Allow us to replace kroniak/ssh-client doe deploy/git status Signed-off-by: Sarah Jamie Lewis <sarah@openprivacy.ca> |
||
---|---|---|
Dockerfile | ||
README.md | ||
gogs-notify | ||
gogs.svg |
README.md
Drone plugin for posting to Gitea or Gogs PRs comments about build results.
Create a user on Gitea or 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: openpriv/drone-gogs
when:
event: pull_request
secrets: [gogs_account_token]
gogs_url: https://git.yourdomain.com
- gogs_url should not end in '/'. Example with path: https://git.yourdomain.com/gogs
Dockerfiles @ git.openprivacy.ca/openprivacy/drone-gogs