diff --git a/.drone.yml b/.drone.yml index 2881c4dde8..ab790ba32c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ steps: - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - cd ../server - - ./occ app:check-code $APP_NAME + - sh -c "if [ $(./occ app:check-code $APP_NAME | wc -l) -ne 5 ]; then ./occ app:check-code $APP_NAME; fi" - cd apps/$APP_NAME/ trigger: