feat(drone): add dynamic color for build status
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
66073ef2ac
commit
499dc9dc13
@ -57,6 +57,8 @@ steps:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
color: >
|
||||
$(if [ "${DRONE_BUILD_STATUS}" = "success" ]; then echo "#48f442"; else echo "#ff4f42"; fi)
|
||||
message:
|
||||
- |
|
||||
${DRONE_REPO} 构建通知
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user