This commit is contained in:
Dan Ballard 2021-11-16 17:17:13 -08:00
parent 08d03ff5b6
commit 65c56cfbe9
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Drone plugin for posting to Gogs PRs comments about build results.
Drone plugin for posting to Gitea or Gogs PRs comments about build results.
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)
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
@ -8,7 +8,7 @@ Create a user on Gogs for posting build notifications (like 'buildbot') and gene
Use in .drone.yml:
notify-gogs:
image: mindstab/drone-gogs
image: openpriv/drone-gogs
when:
event: pull_request
secrets: [gogs_account_token]
@ -17,4 +17,4 @@ Use in .drone.yml:
- gogs_url should not end in '/'. Example with path: https://git.yourdomain.com/gogs
Dockerfiles @ [git.openprivacy.ca/openprivacy/drone-gogs](https://git.openprivacy.ca/openprivacy/drone-gogs)