appleboy / drone-discord

Drone plugin for sending message to Discord channel using Webhook
MIT License
35 stars 20 forks source link

Usable variables #20

Closed Tchoupinax closed 5 years ago

Tchoupinax commented 5 years ago

Hello,

I would like to know why i can use some variable but not all. For example, i would like to use commit.message but it returns blank. However others variables that are declared on this page are usable (like build.number).

Do you know why ? Thank you for your work :)

Regards,

appleboy commented 5 years ago

I add the example. See the following.

https://github.com/appleboy/drone-discord/blob/fe2b53fab47bb71c9df34482f4227e1c30cd0878/.drone.yml#L346-L354