Merge pull request #839 from loki-project/ci-webhook-change

Change how webhooks are called
pull/841/head
michael-loki 5 years ago committed by GitHub
commit 44e941d0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,17 +150,9 @@ after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
after_success:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- if [[ -z $IS_NOTIFICATION ]]; then ./send.sh success $WEBHOOK_URL; fi
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- if [[ ! -z $IS_NOTIFICATION ]]; then ./send.sh failure $WEBHOOK_URL; fi
notifications:
webhooks:
urls: $WEBHOOK_URL
irc:
on_success: change
on_failure: change

Loading…
Cancel
Save