From 3f5633b4f67f5c1c35a9c57e9ca5f3ce43142194 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Thu, 4 Jul 2019 15:29:55 +0300 Subject: [PATCH] Travis: Run gitdeploy only on pushes to master --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 69f5d69a6d..4c7d2a5a74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ script: | jobs: include: - stage: deploy - if: branch = master + if: type = push AND branch = master script: npm run gitpublish skip_cleanup: true node_js: '10'