mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 03:21:58 +00:00
changing text based on whether this was a deployment
This commit is contained in:
@@ -42,10 +42,16 @@ block content
|
||||
h3 #{$build.Message}
|
||||
p.card-text
|
||||
em #{$build.Author}
|
||||
span authored
|
||||
if $build.Event != "deployment"
|
||||
span authored
|
||||
else
|
||||
span deployed
|
||||
em[data-livestamp=$build.Created]
|
||||
span to
|
||||
em #{$build.Branch}
|
||||
if $build.Event != "deployment"
|
||||
em ${build.Branch}
|
||||
else
|
||||
em #{$build.Deploy}
|
||||
|
||||
|
||||
block append scripts
|
||||
|
Reference in New Issue
Block a user