From 49ef65babf45cad801ae03b837d3e319892ab1a0 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Tue, 7 Sep 2021 21:57:29 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac0bbd8..c8912ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,8 +142,10 @@ jobs: echo "DISCORD_EMBEDS=$(jq -nc --arg color "1681177" --arg desc "$DESC" "$TEMPLATE")" >> $GITHUB_ENV - name: Discord notification + if: steps.version_check.outcome == 'success' && steps.version_check.conclusion == 'success' env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_HOOK_URL }} DISCORD_AVATAR: https://api.microlink.io/?url=https://twitter.com/github&embed=image.url DISCORD_USERNAME: Github - uses: Ilshidur/action-discord@0.3.2 \ No newline at end of file + uses: Ilshidur/action-discord@0.3.2 +