From 758d08a51e5e50d62f28db1787f9c8cfbe1114fe Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Thu, 4 Jul 2019 17:00:53 +0300 Subject: [PATCH] Travis: Run gitdeploy only on pushes to master (#2016) --- .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'