drone-plugins / drone-greenkeeper

Drone plugin for using Greenkeeper's lockfile support
Apache License 2.0
0 stars 0 forks source link

Docs not listed on plugin site #3

Open one000mph opened 6 years ago

one000mph commented 6 years ago

Looks like there is a link to http://plugins.drone.io/ but it doesn't go anywhere. Would be nice to include this plugin there. Thanks for this plugin!

donny-dont commented 6 years ago

@one000mph you currently giving it a try?

one000mph commented 6 years ago

yes

donny-dont commented 6 years ago

Not sure when I can write something official but if you're having trouble starting here's an example.

https://github.com/donny-dont/drone-greenkeeper-test/blob/master/.drone.yml

one000mph commented 6 years ago

thanks! would appreciate it but I understand writing docs can take time. is gk-token the token generated in the initial PR in the badge URI? I am not finding any other reference to a greenkeeper token.

donny-dont commented 6 years ago

From https://github.com/greenkeeperio/greenkeeper-lockfile#setup

  1. create a GitHub access token with push access to your repository and make it available to your CI's environment as GH_TOKEN.

So in the case of that drone.yml I have gk-token mapping to gh-token. You can see how that's done in http://docs.drone.io/manage-secrets/ under alternate names. You can just make it gh-token.

one000mph commented 6 years ago

ahhh I see, was just reading that doc. Thanks!