Trigger NUR update only on master builds

This commit is contained in:
Francesco Gazzetta 2018-07-16 14:33:35 +02:00
parent 98c2f0ffc4
commit eed630f9b1
1 changed files with 2 additions and 1 deletions

View File

@ -19,5 +19,6 @@ script:
after_success: after_success:
- if [ -n "${CACHIX_CACHE}" ]; then cachix push "${CACHIX_CACHE}" $outs; fi - 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