From a2c75465c16285d116e9ef9f43bcc7aa69cdf73c Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Wed, 2 Aug 2023 09:39:52 +1000 Subject: [PATCH] Further CI logic tweaks --- .drone.jsonnet | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index a07491702..8aa27080f 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -148,10 +148,8 @@ local build_for_app_store = { // Setup the actual pipelines we want to run -local buildEvent = std.extVar('DRONE_BUILD_EVENT'); // Get the event which triggered the build - [ run_unit_tests, - if buildEvent != 'pull_request' then build_for_simulator else {}, - if buildEvent != 'pull_request' then build_for_app_store else {}, + if '$DRONE_BUILD_EVENT' != 'pull_request' then build_for_simulator else {}, + if '$DRONE_BUILD_EVENT' != 'pull_request' then build_for_app_store else {}, ] \ No newline at end of file