touch up README
This commit is contained in:
parent
4dcfaf559a
commit
c871232e1f
|
@ -1,7 +1,10 @@
|
||||||
|
Drone plugin for posting to 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 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
|
drone secret add dan/gogs-notify-test --name gogs_account_token --value $VALUE --event pull_request
|
||||||
|
|
||||||
|
|
||||||
Use in .drone.yml:
|
Use in .drone.yml:
|
||||||
|
|
||||||
notify-gogs:
|
notify-gogs:
|
||||||
|
@ -11,6 +14,7 @@ Use in .drone.yml:
|
||||||
secrets: [gogs_account_token]
|
secrets: [gogs_account_token]
|
||||||
gogs_url: https://git.yourdomain.com
|
gogs_url: https://git.yourdomain.com
|
||||||
|
|
||||||
|
|
||||||
- gogs_url should not end in '/'. Example with path: https://git.yourdomain.com/gogs
|
- gogs_url should not end in '/'. Example with path: https://git.yourdomain.com/gogs
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue