Don't try to update NUR on cron jobs

This commit is contained in:
MetaDark 2020-01-05 11:53:24 -05:00
parent 2610a5b60b
commit c2d644c7a9

View file

@ -29,6 +29,6 @@ script:
after_success: after_success:
- if [ -n "${CACHIX_CACHE}" ]; then nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"; fi - 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 curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi