]> granicus.if.org Git - esp-idf/commitdiff
night jobs should exit succeed if no need to run
authorYinling <heyinling@espressif.com>
Thu, 29 Sep 2016 12:21:33 +0000 (20:21 +0800)
committerAngus Gratton <angus@espressif.com>
Tue, 11 Oct 2016 06:23:46 +0000 (17:23 +1100)
.gitlab-ci.yml

index 89269aa425aef47bbf13e22696ff37c34041794c..2b421e77a0fe3011a407fca7c84c2835727a9f99 100644 (file)
@@ -160,7 +160,7 @@ push_master_to_github:
     - triggers
   script:
     # must be night build triggers, otherwise exit without test
-    - test $NIGHT_BUILD != "Yes" || exit 0
+    - test $NIGHT_BUILD = "Yes" || exit 0
     # add gitlab ssh key
     - mkdir -p ~/.ssh
     - chmod 700 ~/.ssh