From c2d644c7a9988614d26dc9052fb606d526d4db16 Mon Sep 17 00:00:00 2001 From: MetaDark Date: Sun, 5 Jan 2020 11:53:24 -0500 Subject: [PATCH] Don't try to update NUR on cron jobs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b3b807a..d39802d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,6 @@ script: after_success: - if [ -n "${CACHIX_CACHE}" ]; then nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"; fi - - if [ "false" = "${TRAVIS_PULL_REQUEST}" -a "master" = "${TRAVIS_BRANCH}" ]; then + - if [ "cron" != "${TRAVIS_EVENT_TYPE}" -a "false" = "${TRAVIS_PULL_REQUEST}" -a "master" = "${TRAVIS_BRANCH}" ]; then curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi