Hello,
I want to push on a distant git repo so I wanna use the key parameter of the plugin appleboy/drone-git-push
The thing is if I have a secret registered and I use the parameter like
key:
from_secret: ssh_key
It say yaml: line 23: did not find expected key
What are the possibilities of the key parameter ?
Can I use a file ? Is it mandatory to use secrets ?
I don’t even know How to use the key parameter I just found how to use it from other post from here.
We might need some more usage/exemple for the parameters of the plugins.
Here is the .drone.yml (removed non relevent stuff)
the reason we need to see the actual yaml is because this is a parsing error, and we need to see what might cause the error at line 23.
edit: also note that key may be referring to a more generic key / value pair and may not be referring to the named key attribute in the settings section.
It is the responsibility of the plugin owner to ensure accurate documentation. I recommend working with the plugin author to improve the documentation as needed. I’m sure the author would appreciate the assistance, as would other community members using this plugin.