From d81218691082fbcae9549f217a66c180230fad64 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 26 Aug 2019 22:49:12 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56bf2134..9778854b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,10 +30,20 @@ jobs: token: ${{secrets.CODECOV_TOKEN}} env: CI: true + - name: Discord notification + if: success() env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master with: - args: 'Project CI Build Complete' + args: 'CI Build Passed' + + - name: Discord notification + if: failure() + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + uses: Ilshidur/action-discord@master + with: + args: 'CI Build Failed'