aboutsummaryrefslogtreecommitdiff
path: root/public/templates/sh.template
diff options
context:
space:
mode:
Diffstat (limited to 'public/templates/sh.template')
-rw-r--r--public/templates/sh.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/templates/sh.template b/public/templates/sh.template
index ebb78f0..049b0b2 100644
--- a/public/templates/sh.template
+++ b/public/templates/sh.template
@@ -34,7 +34,7 @@ say
verbose_say "Gathering report information . . ."
-if [ "$CI" = "drone" ]; then
+if [ "$CI" = "true" ] && [ "$DRONE" = "true" ] ; then
verbose_say "Drone CI discovered - using Drone report info"
commit="$DRONE_COMMIT"
branch="$DRONE_BRANCH"