From eed630f9b18945b37aaf2cd7eb224283344f7893 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Mon, 16 Jul 2018 14:33:35 +0200 Subject: [PATCH] Trigger NUR update only on master builds --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0ff4a69..8bd74bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,5 +19,6 @@ script: after_success: - if [ -n "${CACHIX_CACHE}" ]; then cachix push "${CACHIX_CACHE}" $outs; fi - - curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}" + - if [ "false" = "${TRAVIS_PULL_REQUEST}" -a "master" = "${TRAVIS_BRANCH}" ]; then + curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi