Templates for drone.yml

Hello,

It’s possible to have templates for drone.yml? or something like that?

I’m repeating a lot of code from every repository. Is there a way to not do that?

Thanks!

See How to reduce Yaml boilerplate

You also have the option to create your own extension to extend the yaml syntax and / or implement custom pre-processing:
https://docs.drone.io/extensions/conversion/

1 Like