aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2021-09-24 20:22:14 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2021-09-24 20:22:14 +0000
commitf838093f7daaee839e3f0b1a665681a39b2c726e (patch)
treedffbe0158d08c04afb059ab92078caaa5af08d6d /public
parent17f2c4d18711b96a0a62403642687530e3696312 (diff)
downloadao-coverage-f838093f7daaee839e3f0b1a665681a39b2c726e.tar.gz
ao-coverage-f838093f7daaee839e3f0b1a665681a39b2c726e.tar.bz2
ao-coverage-f838093f7daaee839e3f0b1a665681a39b2c726e.zip
Fix CI test in sh upload script
Diffstat (limited to 'public')
-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"